summaryrefslogtreecommitdiff
path: root/puppet/modules/passenger/README
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-09 17:33:18 +0200
committervarac <varacanero@zeromail.org>2016-06-14 12:05:18 +0200
commit73e44bd7328beef020b8c62e653f4d527b0ee723 (patch)
tree30309f83a97c9fe51084f7387d703c618eaad1ba /puppet/modules/passenger/README
parentc3352b11643881c0af33dde2838b91ac88e40476 (diff)
git subrepo clone https://leap.se/git/puppet_passenger puppet/modules/passenger
subrepo: subdir: "puppet/modules/passenger" merged: "47fca11" upstream: origin: "https://leap.se/git/puppet_passenger" branch: "master" commit: "47fca11" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cb2995b"
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"