Add code to add a run puppet script

I got sick of typing the command
This commit is contained in:
Dan Bode
2012-11-06 20:53:34 -08:00
parent bb6498ab41
commit e748ca1702

View File

@@ -17,3 +17,10 @@ host {
group { 'puppet':
ensure => 'present',
}
# lay down a file that you run run for testing
file { '/root/run_puppet.sh':
content =>
"#!/bin/bash
puppet apply --modulepath /tmp/vagrant-puppet/modules-0/ --certname ${clientcert} /tmp/vagrant-puppet/manifests/site.pp"
}