Skip to content

Instantly share code, notes, and snippets.

@grahamgilbert
Last active December 19, 2015 22:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamgilbert/6029913 to your computer and use it in GitHub Desktop.
Save grahamgilbert/6029913 to your computer and use it in GitHub Desktop.
Our Puppet Launch Daemon
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//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.pebbleit.puppet</string>
<key>OnDemand</key>
<false/>
<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>ServiceDescription</key>
<string>Puppet Daemon</string>
<key>ServiceIPC</key>
<false/>
<key>StandardErrorPath</key>
<string>/var/log/puppet/puppet.err.log</string>
<key>StandardOutPath</key>
<string>/var/log/puppet/puppet.out.log</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment