We have been successfully using Puppet v2 for a few years now managing Mac 
OSX machines, with a LaunchDaemon file (com.reductivelabs.puppet 
http://1drv.ms/1kqcNW0)
This needed to be changed when Puppet v3 came along and so we merely 
changed the 'Label' - which worked fine with v3.3 on OSX 10.8.5...

For Mavericks (OSX 10.9) we need to use Puppet 3.4.3 (with Facter 1.7.5) 
and this LaunchDaemon file does not work - so following information gained 
from this forum, and the launchd 
manpage<https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/launchd.plist.5.html>,
 
I changed the RubyLib Path to where it now gets installed and modified a 
few other keys: (com.puppetlabs.puppet http://1drv.ms/1kqdzSU)

Unfortunately this still does not work.

I can manually run puppet on Mavericks from the commandline using 'sudo 
puppet agent --test' and it functions perfectly. But the LaunchDaemon just 
refuses to work; it gives the following error:

Error: Could not create resources for managing Puppet's files and 
directories in sections [:main, :agent, :ssl]: undefined method `each' for 
nil:NilClass
Error: Could not prepare for execution: Could not create resources for 
managing Puppet's files and directories in sections [:main, :agent, :ssl]: 
undefined method `each' for nil:NilClass
undefined method `each' for nil:NilClass

The only reference I can find to this kind of error was apparently fixed in 
3.0.2 (password hashing problem?)...

Has anyone got a LaunchDaemon working on Mavericks? Any pointers for what I 
might need to do to make it work?

Many thanks!

-- 
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/c927a550-f16b-4896-b243-c1188f1790fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to