/etc/init/mcollective-server-provisioner.conf is in mcollective-server-provisioner 0.0.1~git20110120-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | description "mcollective server provisioner"
author "Marc Cluet <marc.cluet@ubuntu.com>"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
pre-start script
if [ ! -f "/etc/mcollective/provisioner.yaml" ]
then
logger "provisioner.rb: Config file missing, please consult examples on how to create one"
exit 1
fi
end script
env RUBYLIB=/usr/local/lib/site_ruby/1.8:$RUBYLIB
exec /usr/bin/mcprovision
|