Project

General

Profile

puppet.conf

Travis Burrell, 01/12/2015 03:42 PM

 
1
### File managed with puppet ###
2
## Module:           'puppet'
3
## Template source:  'MODULES/puppet/templates/puppet.conf.erb'
4

    
5
[main]
6
    # The Puppet log directory.
7
    # The default value is '$vardir/log'.
8
    logdir = /var/log/puppet
9

    
10
    # Where Puppet PID files are kept.
11
    # The default value is '$vardir/run'.
12
    rundir = /var/run/puppet
13

    
14
    # Where SSL certificates are kept.
15
    # The default value is '$confdir/ssl'.
16
    ssldir = $vardir/ssl
17

    
18
    # Allow services in the 'puppet' group to access key (Foreman + proxy)
19
    privatekeydir = $ssldir/private_keys { group = service }
20
    hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
21

    
22
    # Puppet 3.0.x requires this in both [main] and [master] - harmless on agents
23
    autosign       = $confdir/autosign.conf { mode = 664 }
24

    
25

    
26
[agent]
27
    # The file in which puppetd stores a list of the classes
28
    # associated with the retrieved configuratiion.  Can be loaded in
29
    # the separate ``puppet`` executable using the ``--loadclasses``
30
    # option.
31
    # The default value is '$confdir/classes.txt'.
32
    classfile = $vardir/classes.txt
33

    
34
    # Where puppetd caches the local configuration.  An
35
    # extension indicating the cache format is added automatically.
36
    # The default value is '$confdir/localconfig'.
37
    localconfig = $vardir/localconfig
38
    report      = true
39
    pluginsync  = true
40
    masterport  = 8140
41
    environment = production
42
    certname    = foreman.my.org
43
    server      = foreman.my.org
44
    listen      = false
45
    splay       = false
46
    runinterval = 1800
47
    noop        = false
48
    show_diff   = true
49
### Next part of the file is managed by a different template ###
50
## Module:           'puppet'
51
## Template source:  'MODULES/puppet/templates/server/puppet.conf.erb'
52

    
53
[master]
54
    autosign       = $confdir/autosign.conf { mode = 664 }
55
    reports        = log, foreman
56
    external_nodes = /etc/puppet/node.rb
57
    node_terminus  = exec
58
    ca             = true
59
    ssldir         = /var/lib/puppet/ssl
60

    
61
[development]
62
    modulepath     = /etc/puppet/environments/development/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
63
    config_version = 
64
[production]
65
    modulepath     = /etc/puppet/environments/production/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
66
    config_version =