aboutsummaryrefslogtreecommitdiffstats
path: root/modules/puppet/templates/puppet.conf
blob: 078e500b56b302f8237f4c19d75be4d4ee69a1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

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

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl
    
    modulepath = $confdir/modules:$confdir/deployment:$confdir/external:/usr/share/puppet/modules
    queue_type = stomp
    queue_source = stomp://localhost:61613
    dbadapter = sqlite3

[master] 
    certname = puppet.<%= domain %>

    # tagmail should be kept last, until this bug is fixed 
    # https://projects.puppetlabs.com/issues/5018
    reports = store,socket,tagmail
    reportfrom = root@<%= domain %>

    # Never remove this:
    # Store config is used to populate others configs
    storeconfigs = true
    dbadapter = sqlite3
    dblocation = /var/lib/puppet/storeconfigs.db

    async_storeconfigs = true

[agent]
    server = puppet.<%= domain %>

    pluginsync = true

    # unfortunately, ecosse and jonund sync at the same time, thus causing problem
    # the proper fix is to use something else than sqlite for stored config, but this would
    # take more time to deploy, so the quick fix is this one (misc, 04/07/2011)
    splay = true

    report = true
<% if environment %>   
    environment = <%= environment %>
<% end %>
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig