On Tuesday, June 10, 2014 3:18:23 PM UTC-5, GregC wrote:
>
> I cannot get around the problem of connecting my Puppet Master 3.6 to 
> PuppetDB 2.0.1 THis is the opensource version.
>  
>  I installed the puppet and puppetdb from rpm packages.
> I continually get this error: 
>  
> Warning: Unable to fetch my node definition, but the agent run will 
> continue:
> Warning: Error 400 on SERVER: Could not retrieve facts for xxx.com: 
> Failed to submit 'replace facts' command for xxx.com to PuppetDB at 
> xxx.com:8081: Connection refused - connect(2)
>  
>


This looks like the puppetdb port is being blocked by a firewall.

 

> I've done all of the ssl-setup steps but no matter what I cannot get it to 
> connect.
> Any pointers would be appreciated,
>  
> Also I'm a bit confused on the environment settings. seems no matter what 
> I do the Puppet Master wants to have an environment setup, IS THERE ANYWAY 
> TO DIABLE it? which I have an environments/production directory with the 
> mani
>


Not as such, no.  Every node is assigned to an environment, which provides 
a context for compilation of its catalog.  The default environment name is 
"production"; this is used if the environment is not specified any other 
way.  But if you are using only the default environment and you have not 
enabled "directory environments" then you don't need to do anything 
special.  All settings in the [master] section of your puppet.conf apply to 
the default environment, with missing values filled in from the [main] 
section.  This is the longtime standard Puppet configuration style (albeit 
now deprecated; see 
http://docs.puppetlabs.com/puppet/latest/reference/environments_classic.html
).


John

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d28c158b-7a9a-4157-ae81-724ca0fab591%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to