From daa2b9a54df05518cde9dd25d0282ee742aaf577 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Thu, 17 Sep 2015 09:38:48 +1000 Subject: [PATCH] Fix an issue with gunicorn Fixes the following error: ``` err: /Stage[main]/Python::Config/Service[gunicorn]/ensure: change from stopped to running failed: Could not find init script for 'gunicorn' ``` --- manifests/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index c7196f2c..78a424b9 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -22,7 +22,7 @@ Python::Virtualenv <| |> -> Python::Pip <| |> if $python::manage_gunicorn { - if $python::gunicorn { + if $python::gunicorn != 'absent' { Class['python::install'] -> Python::Gunicorn <| |> Python::Gunicorn <| |> ~> Service['gunicorn']