/[adm]/puppet/modules/puppet/templates/puppet.conf
ViewVC logotype

Contents of /puppet/modules/puppet/templates/puppet.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2395 - (show annotations) (download)
Fri Feb 10 19:05:33 2012 UTC (9 years, 7 months ago) by misc
File size: 1913 byte(s)
split stored_config in a separate class, and refactor the configuration.
This will ease a switch to postgresql once I found how to solve the
issues of bootstrapping it ( for automated reinstallation )
1 <% db_config = scope.lookupvar('puppet::stored_config::db_config') %>
2 [main]
3 # The Puppet log directory.
4 # The default value is '$vardir/log'.
5 logdir = /var/log/puppet
6
7 # Where Puppet PID files are kept.
8 # The default value is '$vardir/run'.
9 rundir = /var/run/puppet
10
11 # Where SSL certificates are kept.
12 # The default value is '$confdir/ssl'.
13 ssldir = $vardir/ssl
14
15 modulepath = $confdir/modules:$confdir/deployment:$confdir/external:/usr/share/puppet/modules
16 queue_type = stomp
17 queue_source = stomp://localhost:61613
18 <%= db_config %>
19
20 [master]
21 certname = puppet.<%= domain %>
22
23 # tagmail should be kept last, until this bug is fixed
24 # https://projects.puppetlabs.com/issues/5018
25 reports = store,socket,tagmail
26 reportfrom = root@<%= domain %>
27
28 # Never remove this:
29 # Store config is used to populate others configs
30 storeconfigs = true
31 async_storeconfigs = true
32 <%= db_config %>
33
34
35 [agent]
36 server = puppet.<%= domain %>
37
38 pluginsync = true
39
40 # unfortunately, ecosse and jonund sync at the same time, thus causing problem
41 # the proper fix is to use something else than sqlite for stored config, but this would
42 # take more time to deploy, so the quick fix is this one (misc, 04/07/2011)
43 splay = true
44
45 report = true
46 <% if environment %>
47 environment = <%= environment %>
48 <% end %>
49 # The file in which puppetd stores a list of the classes
50 # associated with the retrieved configuratiion. Can be loaded in
51 # the separate ``puppet`` executable using the ``--loadclasses``
52 # option.
53 # The default value is '$confdir/classes.txt'.
54 classfile = $vardir/classes.txt
55
56 # Where puppetd caches the local configuration. An
57 # extension indicating the cache format is added automatically.
58 # The default value is '$confdir/localconfig'.
59 localconfig = $vardir/localconfig

  ViewVC Help
Powered by ViewVC 1.1.28