summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-06 22:10:39 +0200
committermh <mh@immerda.ch>2010-08-06 22:11:58 +0200
commit4036ecf691babf80d859b68865e66cea0008a238 (patch)
tree9fa165d448b560077af447c1acf9132a1bb8957c /README
parentdcdf341af2b32969c47bef5939e34952a6fc7642 (diff)
cleanup 'if defined' code smell
A new variable $puppetmaster_mode have been introduced, which should later be replaced by a class variable.
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 11 insertions, 4 deletions
diff --git a/README b/README
index f925dfa..e09bbaf 100644
--- a/README
+++ b/README
@@ -14,18 +14,25 @@ Depends on Modules
Usage
-----
+If you want to run the puppetmaster in a non-webrick based
+mode, you can set $puppetmaster_mode either to:
+
+* passenger, run puppetmaster as a passenger application
+* cluster, run puppetmaster as a mongrel based cluster
+
+In both cases you have to setup the appropriate frontends
+(apache vhost configuration/nginx vhost configuration) on
+your own.
+
in your site.pp, i.e. :
$puppet_crontime = "0,12 * * * *"
include puppet::cron
+ $puppetmaster_mode = 'passenger'
include puppet::puppetmaster
- include puppet::puppetmaster::passenger
-
$puppet_storeconfig_password="..."
include puppet::puppetmaster::storeconfigs
-
-
...tbc...