Change puppetboot to use agent instead of apply.

Change-Id: I1281e5e3a15a2cf6913b043e2a9e9d49965a1fea
Reviewed-on: https://review.openstack.org/11634
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Monty Taylor 2012-08-19 17:50:28 -06:00 committed by Jenkins
parent 72385e5f2f
commit 991d65e8ec

View File

@ -4,12 +4,8 @@ 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
/usr/bin/puppet agent --test --logdest /var/log/manifest.log
end script