Add code to add a run puppet script
I got sick of typing the command
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user