On Wednesday, May 7, 2014 1:31:03 PM UTC-7, twm...@gmail.com wrote:
>
> Hi, 
>
> I am very new to Puppet. I am running 3.5.1 via Foreman proxy. 
>
> I unfortunately getting the following error on my client when I attempt to 
> register its cert with the master.  
>
> #  puppet agent --server myserver.domain --waitforcert 60 --test
> Error: Could not request certificate: Error 400 on SERVER: no 
> 'environments' in 
> {:current_environment=>#<Puppet::Node::Environment:0x7f33c50554b0 
> @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>, 
> :root_environment=>#<Puppet::Node::Environment:0x7f33c50554b0 
> @name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of []
>
> Clearly I have something I have not setup or configured, but it is not 
> clear based on the error what that might be. 
>
> Anyone have any suggestions on how I might proceed?
>
> Thanks,
>
> Terrence
>
>

So I think the issue may be some where in the Foreman proxy configuration. 
I am basing that assumption on the output of the following commands. 

[root@cabinet-4-4-0 puppet]#   curl -k -H "Content-Type:application/json" 
-H "Accept:application/json" 
https://t2gw03.t2.ucsd.edu:8443/puppet/environments
["development","production"]

[root@cabinet-4-4-0 puppet]#   curl -k -H "Content-Type:application/json" 
-H "Accept:application/json" 
https://t2gw03.t2.ucsd.edu:8140/puppet/environments
no 'environments' in 
{:current_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0 
@name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>, 
:root_environment=>#<Puppet::Node::Environment:0x7f39ad859bf0 
@name=:"*root*", @manifest="/etc/puppet/rack", @modulepath=[]>} at top of []

Foreman version is 1.4.2. 



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bf4497b0-6713-4f7f-a84f-1678b33a6ec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to