summaryrefslogtreecommitdiff
path: root/files/master/debian
diff options
context:
space:
mode:
Diffstat (limited to 'files/master/debian')
-rw-r--r--files/master/debian/puppetmaster63
1 files changed, 63 insertions, 0 deletions
diff --git a/files/master/debian/puppetmaster b/files/master/debian/puppetmaster
new file mode 100644
index 0000000..b0a9fe4
--- /dev/null
+++ b/files/master/debian/puppetmaster
@@ -0,0 +1,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=""