summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
index b2debcc..c4914f7 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -56,11 +56,12 @@ class python::install {
}
}
- $gunicorn_ensure = $python::gunicorn ? {
- true => present,
- default => absent,
+ if $python::manage_gunicorn {
+ $gunicorn_ensure = $python::gunicorn ? {
+ true => present,
+ default => absent,
+ }
+ package { 'gunicorn': ensure => $gunicorn_ensure }
}
- package { 'gunicorn': ensure => $gunicorn_ensure }
-
}