diff options
author | Sergey Stankevich <sergey.stankevich@gmail.com> | 2014-01-04 10:24:07 +0300 |
---|---|---|
committer | Sergey Stankevich <sergey.stankevich@gmail.com> | 2014-01-04 10:24:07 +0300 |
commit | 042f4eed2e15834a3c49abab485e5037ab805ca3 (patch) | |
tree | 912cc2c4dd17317561427e0e4cf09cff076a1cef /manifests/install.pp | |
parent | 9d019a6cba04f95a14a8d57fc2510732e9a5b53e (diff) | |
parent | fdf81012ea5f3d8124c86f41d91e4e97f769bc80 (diff) |
Merging master
Diffstat (limited to 'manifests/install.pp')
-rw-r--r-- | manifests/install.pp | 11 |
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 } - } |