summaryrefslogtreecommitdiff
path: root/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
commit313e3080b1dc2bdfa048b8f3301b42e5d83b0d03 (patch)
tree10113f57c2b7e7ddd1b793f42e17b974c16653e8 /README
Squashed 'puppet/modules/passenger/' content from commit 47fca11
git-subtree-dir: puppet/modules/passenger git-subtree-split: 47fca117b594d30aa29d33f8d8846eeec0a88d5f
Diffstat (limited to 'README')
-rw-r--r--README42
1 files changed, 42 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 00000000..549432e2
--- /dev/null
+++ b/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"