summaryrefslogtreecommitdiff
path: root/files/master/debian/puppetmaster
blob: b0a9fe467fb3a746c24d149d1ff7592de39571b4 (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
60
61
62
63
# Defaults for puppetmaster - sourced by /etc/init.d/puppetmaster

# Start puppetmaster on boot? If you are using passenger, you should
# have this set to "no"
START=yes

# Startup options
DAEMON_OPTS=""

# What server type to run 
# Options: 
# 	   webrick: default, cannot handle more than ~30 nodes
#	   mongrel: scales better than webrick because you can run
#	    	    multiple processes if you are getting
#	    	    connection-reset or End-of-file errors, switch to
#	    	    mongrel. Requires front-end web-proxy such as
#	    	    apache, nginx, or pound, more information:
#	            http://reductivelabs.com/trac/puppet/wiki/UsingMongrel
#          passenger: no need to set this, be sure to set START=no above
SERVERTYPE=webrick

# How many puppetmaster instances to start? Its pointless to set this
# higher than 1 if you are not using mongrel. 
PUPPETMASTERS=1

# What port should the puppetmaster listen on (default: 8140). If
# PUPPETMASTERS is set to a number greater than 1, then the port for
# the first puppetmaster will be set to the port listed below, and
# further instances will be incremented by one 
#
# NOTE: if you are using mongrel, then you will need to have a
# front-end web-proxy (such as apache, nginx, pound) that takes
# incoming requests on the port your clients are connecting to
# (default is: 8140), and then passes them off to the mongrel
# processes.  In this case it is recommended to run your web-proxy on
# port 8140 and change the below number to something else, such as
# 18140.
PORT=8140

# Should puppetqd (the storeconfigs queuing broker) be started? 
#  This can take some load off of the puppetmaster by queuing the
#  storeconfig updates to the database with puppetqd. You need
#  to have the 'stompserver' package installed and running, and
#  the following configured in your puppet.conf:
#
#  [main]
#  queue_type = stomp
#  queue_source = stomp://localhost:61613
#  dbadapter = (sqlite3|mysql|postgresql)
#  dbserver=localhost
#  dbname=puppet
#  dbuser=puppet
#  dbpassword=xxxx
#  dblocation = /var/lib/puppet/storeconfigs.sqlite <-- only if using sqlite
#  [master]
#  async_storeconfigs = true
#
#  See: http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
#
#  Once you have the proper puppet.conf, and stompserver, you can enable
#  the following:
PUPPETQD=no
PUPPETQD_OPTS=""