summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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