updated allow insatll of puppetmaster on squeeze. This addresses the
[puppet-common:puppet.git] / files / master / puppet.conf
1 [main]
2     confdir=/srv/puppet/etc
3
4     # Where Puppet stores dynamic and growing data.
5     # The default value is '/var/puppet'.
6     vardir = /srv/puppet
7
8     # The Puppet log directory.
9     # The default value is '$vardir/log'.
10     logdir = /var/log/puppet
11
12     # Where Puppet PID files are kept.
13     # The default value is '$vardir/run'.
14     rundir = /var/run/puppet
15
16     # Where SSL certificates are kept.
17     # The default value is '$confdir/ssl'.
18     ssldir = $vardir/ssl
19
20     factpath = $vardir/lib/facter
21     plugindest = $vardir/lib/puppet
22
23 [puppetd]
24     # The file in which puppetd stores a list of the classes
25     # associated with the retrieved configuratiion.  Can be loaded in
26     # the separate ``puppet`` executable using the ``--loadclasses``
27     # option.
28     # The default value is '$confdir/classes.txt'.
29     classfile = $vardir/classes.txt
30
31     # Where puppetd caches the local configuration.  An
32     # extension indicating the cache format is added automatically.
33     # The default value is '$confdir/localconfig'.
34     localconfig = $vardir/localconfig
35
36     report=true
37     pluginsync = true
38     factsync=true
39
40     logdest=/var/log/puppet/puppet.log
41
42 [puppetmasterd]
43     reportdir = $logdir/reports
44     autoflush = true
45     #storeconfigs=true
46     dbadapter=mysql
47     dbserver=localhost
48     dbuser=puppet
49     dbpassword=****************
50     dbsocket=/var/lib/mysql/mysql.sock
51
52     #usage for clusters
53     #ssl_client_header=HTTP_X_SSL_SUBJECT
54
55     # apache2/passenger usage: http://github.com/reductivelabs/puppet/tree/master/ext/rack
56     ssl_client_header = SSL_CLIENT_S_DN
57     ssl_client_verify_header = SSL_CLIENT_VERIFY
58
59
60     # specify allowed environments
61     environments=production,development
62
63     # configure environments
64     [development]
65     manifest=$vardir/development/etc/manifests/site.pp
66     modulepath=$vardir/development/modules/
67     templatepath=$vardir/development/templates/
68
69     [production]
70     manifest=$vardir/production/etc/manifests/site.pp
71     modulepath=$vardir/production/modules/
72     templatepath=$vardir/production/templates/
73