--- config/settings.d/puppet.yml.example.orig 2014-12-02 11:27:28.000000000 +0100 +++ config/settings.d/puppet.yml.example 2014-12-04 11:27:31.399941182 +0100 @@ -10,23 +10,23 @@ # 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 +:customrun_cmd: /usr/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 +:puppet_conf: %%LOCALBASE%%/etc/puppet/puppet.conf # whether to use sudo before the ssh command :puppetssh_sudo: false # the command which will be sent to the host -:puppetssh_command: /usr/bin/puppet agent --onetime --no-usecacheonfailure +:puppetssh_command: %%LOCALBASE%%/bin/puppet agent --onetime --no-usecacheonfailure # wait for the command to finish (and capture exit code), or detach process and return 0 # Note: enabling this option causes the Foreman web UI to be blocked when executing puppetrun, # with timeout from the Browser and/or Foreman's REST client after 60 seconds. :puppetssh_wait: false # With which user should the proxy connect #:puppetssh_user: root -#:puppetssh_keyfile: /etc/foreman-proxy/id_rsa +#:puppetssh_keyfile: %%PREFIX%%/etc/foreman-proxy/id_rsa # Which user to invoke sudo as to run puppet commands #:puppet_user: root @@ -34,9 +34,9 @@ # URL of the puppet master itself for API requests #:puppet_url: https://puppet.example.com:8140 # SSL certificates used to access the puppet master API -#:puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem -#:puppet_ssl_cert: /var/lib/puppet/ssl/certs/puppet.example.com.pem -#:puppet_ssl_key: /var/lib/puppet/ssl/private_keys/puppet.example.com.pem +#:puppet_ssl_ca: /var/puppet/ssl/certs/ca.pem +#:puppet_ssl_cert: /var/puppet/ssl/certs/puppet.example.com.pem +#:puppet_ssl_key: /var/puppet/ssl/private_keys/puppet.example.com.pem # Override use of Puppet's API to list environments, by default it will use only if # environmentpath is given in puppet.conf, else will look for environments in puppet.conf