summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lawrence <dannyla@linux.com>2013-11-29 22:23:23 +1100
committerDaniel Lawrence <dannyla@linux.com>2013-11-29 22:23:23 +1100
commitfdf81012ea5f3d8124c86f41d91e4e97f769bc80 (patch)
tree05063132af5f51170a004c808b2b9b1f94d20f68
parent04bffc411afb19a572af34d1a2e0f7029f16dfe4 (diff)
added manage_gunicorn docs
-rw-r--r--Modulefile2
-rw-r--r--README.md2
-rw-r--r--manifests/init.pp5
3 files changed, 7 insertions, 2 deletions
diff --git a/Modulefile b/Modulefile
index 82069d4..171490c 100644
--- a/Modulefile
+++ b/Modulefile
@@ -1,5 +1,5 @@
name 'stankevich-python'
-version '1.2.0'
+version '1.3.0'
author 'Sergey Stankevich'
license 'Apache License, Version 2.0'
diff --git a/README.md b/README.md
index 751376a..6aa0c98 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,8 @@ Installs and manages python, python-dev, python-virtualenv and Gunicorn.
**gunicorn** - Install Gunicorn. Default: false
+**manage_gunicorn** - Allow Installation / Removal of Gunicorn. Default: true
+
class { 'python':
version => 'system',
dev => true,
diff --git a/manifests/init.pp b/manifests/init.pp
index 574573b..74244e1 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -19,6 +19,9 @@
# [*gunicorn*]
# Install Gunicorn. Default: false
#
+# [*manage_gunicorn*]
+# Allow Installation / Removal of Gunicorn. Default: true
+#
# === Examples
#
# class { 'python':
@@ -39,7 +42,7 @@ class python (
$dev = false,
$virtualenv = false,
$gunicorn = false,
- $manage_gunicorn = false
+ $manage_gunicorn = true
) {
# Module compatibility check