diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 16:08:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 16:08:35 -0300 |
commit | 051e1efd9bb089a38811f48edbf3c77757034a50 (patch) | |
tree | ea0de8d524075fc8f8d6c5533d7b1ad715c1b207 | |
parent | e5f1c681276315d1f994447c535ac1100a979277 (diff) | |
download | puppet-nodo-051e1efd9bb089a38811f48edbf3c77757034a50.tar.gz puppet-nodo-051e1efd9bb089a38811f48edbf3c77757034a50.tar.bz2 |
Fix on yacy cronjob status
-rw-r--r-- | manifests/role/yacy.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/role/yacy.pp b/manifests/role/yacy.pp index 15a2fd6..e1fa6ed 100644 --- a/manifests/role/yacy.pp +++ b/manifests/role/yacy.pp @@ -18,7 +18,10 @@ class nodo::role::yacy inherits nodo::base::vserver { user => root, hour => "*/4", minute => "0", - ensure => present, + ensure => $yacy_status ? { + 'running' => present, + default => absent, + }, require => Service['yacy'], } |