On Mon, Feb 10, 2014 at 10:55 AM, Rudy McComb <valent...@thnkbig.com> wrote: > I'm having a an issue with running puppet as launchd. I'm using this > http://docs.puppetlabs.com/guides/files/com.puppetlabs.puppet.plist and on > some macs it will run and start at reboot and on others it doesnt. > > According to the logs puppet is exiting with a code of 1. What can i due to > ensure that the puppet launchd mod runs uninhibited. > > http://pastebin.com/raw.php?i=CX56cucf > > I've also tried using a modified version of this > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>EnvironmentVariables</key> > <dict> > <key>PATH</key> > <string>/sbin:/usr/sbin:/bin:/usr/bin</string> > <key>RUBYLIB</key> > <string>/usr/lib/ruby/site_ruby/1.8/</string> > </dict> > <key>Label</key> > <string>com.puppetlabs.puppet</string> > <key>KeepAlive</key> > <true/> > <key>ProgramArguments</key> > <array> > <string>/usr/bin/puppet</string> > <string>agent</string> > <string>--verbose</string> > <string>--no-daemonize</string> > <string>--logdest</string> > <string>console</string> > </array> > <key>RunAtLoad</key> > <true/> > <key>ServiceDescription</key> > <string>Puppet Daemon</string> > <key>ServiceIPC</key> > <false/> > <key>StandardErrorPath</key> > <string>/var/log/puppet/puppet.err</string> > <key>StandardOutPath</key> > <string>/var/log/puppet/puppet.out</string> > </dict> > > </plist> > > -- > 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/0b798c59-e87c-4dde-886f-885b1a2045ea%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.
Hi Ryan, Unfortunately the plist at that link is a little out of date. The ServiceIPC and ServiceDescription keys aren't supported in recent versions of OSX. You can just remove them, really. Also, how did you install puppet, which version of puppet did you install, and on what version of OSX? Puppet >= 3.4.0 installed via dmg lives in /Library/Ruby/Site, to make it compatible with ruby 2 on Mavericks, so you may want to update the plist to reflect this. Puppet < 3.4.0 installed via dmg is installed to the "RUBYLIB" in your plist. Finally, if you're using mavericks and installing from dmg, you'll need facter 1.7.5-rc1 or later (I believe we are shipping the final version of facter 1.7.5 very soon). -- Moses Mendoza Puppet Labs Join us at PuppetConf 2014, September 23-24 in San Francisco - http://bit.ly/pupconf14 -- 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/CA%2B421WYsV%2BEdpofVtmhTOWoauBBcfH8bUbCFr%2BrDn-AT3Xb9Hw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.