Hi Merlin,

It¹s working here. This is what we're using with Mavericks and Puppet
3.4.3. 

http://pastebin.com/i9A82gYr

I installed puppet using the installer packages from Puppet Labs rather
than via a gem if that makes a difference.

Thanks

Joe






On 14/03/2014 13:21, "Merlin Hartley" <merlinhart...@hotmail.com> wrote:

>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/Ma
>nPages/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-c11
>88f1790fb%40googlegroups.com
><https://groups.google.com/d/msgid/puppet-users/c927a550-f16b-4896-b243-c1
>188f1790fb%40googlegroups.com?utm_medium=email&utm_source=footer>.
>For more options, visit https://groups.google.com/d/optout.
>


--  
Joe Garfoot.
Infrastructure Management Team.
Wellcome Trust Sanger Institute,
Hinxton, Cambridge, CB10 1SA
Telephone: 01223 492315 






-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

-- 
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/CF48BB34.3984A%25jg9%40sanger.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to