Monty Taylor 40471655d3 Add support for install puppet modules.
Change-Id: I0fb81d64daea389a564405c76773108eaeec6684
2012-07-24 10:52:31 -05:00

16 lines
542 B
Plaintext

author "Monty Taylor <mordred@inaugust.com>"
description "Applying puppet config on boot"
start on runlevel[2345]
script
cd /root/openstack-ci-puppet/modules
/usr/bin/git pull --ff-only
echo "Installing modules" >> /var/log/manifest.log
/bin/bash install_modules.sh >> /var/log/manifest.log
echo "Running puppet on boot" >> /var/log/manifest.log
date >> /var/log/manifest.log
/usr/bin/puppet apply --modulepath=/root/openstack-ci-puppet/modules -l /var/log/manifest.log /root/openstack-ci-puppet/manifests/site.pp
end script