Added support for deploying puppetmaster using webrick

This commit is contained in:
Ossi Salmi 2012-04-18 12:53:12 +03:00
parent 5aded5e39f
commit 105978c2d5
4 changed files with 103 additions and 2 deletions

View file

@ -15,7 +15,11 @@ DAEMON_OPTS=""
# mongrel. Requires front-end web-proxy such as
# apache, nginx, or pound)
# See: http://reductivelabs.com/trac/puppet/wiki/UsingMongrel
<% if puppet_listenports.length > 1 -%>
SERVERTYPE=mongrel
<% else -%>
SERVERTYPE=webrick
<% end -%>
# How many puppetmaster instances to start? Its pointless to set this
# higher than 1 if you are not using mongrel.