Fix puppet apply script

it should use the /etc/puppet/ as its cofigdir
and allow additional args to be passed.
This commit is contained in:
Dan Bode
2013-01-11 11:07:12 -08:00
parent fff4068c06
commit c311d525f0

View File

@@ -22,7 +22,9 @@ group { 'puppet':
file { '/root/run_puppet.sh':
content =>
"#!/bin/bash
puppet apply --modulepath /tmp/vagrant-puppet/modules-0/ --certname ${clientcert} /tmp/vagrant-puppet/manifests/site.pp"
puppet apply --modulepath /etc/puppet/modules-0/ --certname ${clientcert} /etc/puppet/manifests/site.pp $*"
}
package { ['make', 'gcc']:
ensure => present,
} ->