Hi
On 27 Feb 2014, at 00:15, [email protected] wrote:

> I am new to puppet.
> 
> running puppet 2.7.19
> 
> didn't know that you couldn't install foreman and dashboard on the same 
> system/puppet master.
> I've uninstalled both of them.
> 
> puppet nodes are complaining about not being able to get their catalogs.

Forman makes use of an ENC: /etc/puppet/node.rb
You can verify whether this command (with a certname as parameter) will deliver 
desired results.
(It should show yaml code).

hth,

Martin

> 
> puppet.conf has:
> 
> snippet:
> 
> [main]
>   # The Puppet var directory.
>   vardir = /var/lib/puppet
> 
>   # The Puppet log directory.
>   # The default value is '$vardir/log'.
>   logdir = /var/log/puppet
> 
>   # Where Puppet PID files are kept.
>   # The default value is '$vardir/run'.
>   rundir = /var/run/puppet
> 
>   # Where SSL certificates are kept.
>   # The default value is '$confdir/ssl'.
>   ssldir = $vardir/ssl
> 
>   # Allow services in the 'puppet' group to access key (Foreman + proxy)
>   privatekeydir = $ssldir/private_keys { group = service }
>   hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
> 
>   # Puppet 3.0.x requires this in both [main] and [master] - harmless on 
> agents
>   autosign       = $confdir/autosign.conf { mode = 664 }
> 
> 
> [master]
>   autosign       = $confdir/autosign.conf { mode = 664 }
>   reports        = store, http
>   external_nodes = /etc/puppet/node.rb
>   node_terminus  = exec
>   ca             = true
> [development]
>   modulepath     = 
> /etc/puppet/modules/development:/etc/puppet/modules/common:/usr/share/puppet/modules
> [production]
>   modulepath     = 
> /etc/puppet/modules/production:/etc/puppet/modules/common:/usr/share/puppet/modules
> 
> /etc/puppet/manifests/site.pp
> includes:
> 
> import "classes/*"
> import "roles/*.pp"
> import "nodes/*.pp"
> import "users/*.pp"
> 
> -----------end snippet-------------
> 
> and yes /etc/puppet/manifests/nodes does contain node_$agent(fqdn).pp
> 
> ls /var/lib/puppet/yaml/facts
> 
> shows: $agent_hosts.yaml
> 
> in /var/log/messages, I find the following types of errors:
> 
> puppet puppet-master[16517]: Could not find node '$agent_hosts(fqdn)';   
> cannot compile
> 
> # note: $agent_hosts(fqdn)  = a list of hosts that should be managed by 
> puppet.  they all look like an fqdn.
> 
> my question:  where would the configuration be to tell where these machines 
> are for compiling catalogs?
> 
> 
> 
> 
>> This email is intended solely for the person or entity to which it is 
>> addressed and may contain confidential and/or privileged information. If you 
>> are not the intended recipient and have received this email in error, please 
>> notify BroadSoft, Inc. immediately by replying to this message, and destroy 
>> all copies of this message, along with any attachment, prior to reading, 
>> distributing or copying it.
> 
> -- 
> 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/f07723f1-f06f-4861-b87f-e368ea275e32%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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/051D0F19-6068-44EB-B249-0DD3C11EA0A2%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to