> Maybe I'm lazy but on our puppetmasters I have a cron job doing "puppet apply 
> /etc/puppet/manifests/site.pp".

I don't think that works with storeconfigs.

[root@puppet ~]# rpm -q puppet-server
puppet-server-2.6.16-1.el6.noarch

[root@puppet ~]# grep storeconfigs /etc/puppet/puppet.conf
    storeconfigs = true

[root@puppet ~]# puppet apply /etc/puppet/manifests/site.pp
warning: You cannot collect without storeconfigs being set on line 7
in file /etc/puppet/modules/nagios/manifests/target.pp
warning: You cannot collect without storeconfigs being set on line 14
in file /etc/puppet/modules/nagios/manifests/target.pp
...

I think the canonical form is more like:

/usr/bin/puppet agent --no-daemonize --no-listen --onetime

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to