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:
@@ -22,7 +22,9 @@ group { 'puppet':
|
|||||||
file { '/root/run_puppet.sh':
|
file { '/root/run_puppet.sh':
|
||||||
content =>
|
content =>
|
||||||
"#!/bin/bash
|
"#!/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']:
|
package { ['make', 'gcc']:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
} ->
|
} ->
|
||||||
|
|||||||
Reference in New Issue
Block a user