Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 331 Bytes
#!/bin/bash
#
# script that performs classification using puppet agent
#
set -u
set -e
<%= ERB.new(File.read(find_template('fragments/options')), nil, "<>", '_options').result(binding) %>
puppet agent --pluginsync --test --certname=<%= options['certname'] %> --server=<%= options['puppetmaster'] %> | tee /tmp/puppet_output.log