puppet-standalone-mashup/skel/apply.erb

13 lines
386 B
Plaintext
Raw Normal View History

#!/bin/bash
mkdir -p ~/.puppet
2012-06-23 02:02:08 +00:00
<%= use_sudo ? "sudo env" : "" %> RUBYLIB="${PWD}/lib:${PWD}/shared/lib" \
2012-06-04 19:05:38 +00:00
<%= with_additional_puppet_bin_path %> \
puppet apply <%= additional_puppet_options %> \
--confdir=$PWD \
--modulepath=$PWD/modules:$PWD/shared/modules:$PWD/shared/additional-modules \
--templatedir=$PWD/shared/templates:$PWD/templates \
-v $@ \
manifests/site.pp