Project

General

Profile

« Previous | Next » 

Revision e478c9e7

Added by Glen Ogilvie over 10 years ago

fixes #3936 added a method of running a custom tool, to trigger puppet.

View differences:

config/settings.yml.example
# mcollective (uses mco puppet)
# puppetssh (run puppet over ssh)
# salt (uses salt puppet.run)
# customrun (calls a custom command with args)
:puppet_provider: puppetrun
# customrun command details
# Set :customrun_cmd to the full path of the script you want to run, instead of /bin/false
:customrun_cmd: /bin/false
# Set :customrun_args to any args you want to pass to your custom script. The hostname of the
# system to run against will be appended after the custom commands.
:customrun_args: -ay -f -s
:puppet_conf: /etc/puppet/puppet.conf
# whether to use sudo before the ssh command
:puppetssh_sudo: false

Also available in: Unified diff