Project

General

Profile

puppet.yml

Travis Burrell, 01/13/2015 07:48 AM

 
1
---
2
:enabled: false
3
# valid providers:
4
#   puppetrun   (for puppetrun/kick, deprecated in Puppet 3)
5
#   mcollective (uses mco puppet)
6
#   puppetssh   (run puppet over ssh)
7
#   salt        (uses salt puppet.run)
8
#   customrun   (calls a custom command with args)
9
#:puppet_provider: puppetrun
10

    
11
# Customrun command details
12
# Set :customrun_cmd to the full path of the script you want to run, instead of /bin/false
13
:customrun_cmd: /bin/false
14
# Set :customrun_args to any args you want to pass to your custom script. The hostname of the
15
# system to run against will be appended after the custom commands.
16
:customrun_args: -ay -f -s
17

    
18
:puppet_conf: /etc/puppet/puppet.conf
19
# whether to use sudo before the ssh command
20
:puppetssh_sudo: false
21
# the command which will be sent to the host
22
:puppetssh_command: /usr/bin/puppet agent --onetime --no-usecacheonfailure
23
# wait for the command to finish (and capture exit code), or detach process and return 0
24
# Note: enabling this option causes the Foreman web UI to be blocked when executing puppetrun,
25
# with timeout from the Browser and/or Foreman's REST client after 60 seconds.
26
:puppetssh_wait: false
27
# With which user should the proxy connect
28
#:puppetssh_user: root
29
#:puppetssh_keyfile: /etc/foreman-proxy/id_rsa
30

    
31
# Which user to invoke sudo as to run puppet commands
32
#:puppet_user: root
33

    
34
# URL of the puppet master itself for API requests
35
#:puppet_url: https://puppet.example.com:8140
36
# SSL certificates used to access the puppet master API
37
#:puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
38
#:puppet_ssl_cert: /var/lib/puppet/ssl/certs/puppet.example.com.pem
39
#:puppet_ssl_key: /var/lib/puppet/ssl/private_keys/puppet.example.com.pem
40

    
41
# Override use of Puppet's API to list environments, by default it will use only if
42
# environmentpath is given in puppet.conf, else will look for environments in puppet.conf
43
#:puppet_use_environment_api: true