summaryrefslogtreecommitdiff
path: root/puppet/modules/passenger/README
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:31 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:31 -0400
commit2f6047b81d9cce2da82971197ee60d5bcc3010d9 (patch)
tree06293f1145c4f92e8c92f53fea96bfe63fce032c /puppet/modules/passenger/README
parent4cb98256c13db35223bbe16645a33bb62b81d9c8 (diff)
parent313e3080b1dc2bdfa048b8f3301b42e5d83b0d03 (diff)
Merge commit '313e3080b1dc2bdfa048b8f3301b42e5d83b0d03' as 'puppet/modules/passenger'
Diffstat (limited to 'puppet/modules/passenger/README')
-rw-r--r--puppet/modules/passenger/README42
1 files changed, 42 insertions, 0 deletions
diff --git a/puppet/modules/passenger/README b/puppet/modules/passenger/README
new file mode 100644
index 00000000..549432e2
--- /dev/null
+++ b/puppet/modules/passenger/README
@@ -0,0 +1,42 @@
+Passenger (mod_rails) puppet module
+-----------------------------------
+
+This puppet module handles a passenger setup, it installs the
+packages, and configures some munin graphs.
+
+Dependencies
+------------
+
+This module expects you to have:
+ . apache module
+
+Optional:
+ . munin module
+
+Getting started
+---------------
+
+Simply do 'include passenger' and it will be installed.
+
+Configuration
+-------------
+
+If you need to install a specific version of passenger or
+librack-ruby, you can specify the version to be installed by providing
+a variable, for example:
+
+class { 'passenger':
+ passenger_ensure_version => '2.2.23-2~bpo50+1',
+ librack-ruby_ensure_version = "1.0.0-2~bpo50+1"
+}
+
+If you wish to use gems, pass 'use_gems => true'.
+
+By default munin will be used, but you can disable that by passing
+'use_munin => false'.
+
+If you need to set different munin plugin configuration values, you
+can also do so as follows:
+
+$passenger_memory_munin_config = "user root\nenv.passenger_memory_stats /opt/bin/passenger-memory-stats"
+$passenger_stats_munin_config = "user root\nenv.PASSENGER_TMPDIR /var/tmp\n"