diff options
-rw-r--r-- | manifests/role/yacy.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/role/yacy.pp b/manifests/role/yacy.pp index dc3480e..15a2fd6 100644 --- a/manifests/role/yacy.pp +++ b/manifests/role/yacy.pp @@ -5,8 +5,10 @@ class nodo::role::yacy inherits nodo::base::vserver { ensure => installed, } + $yacy_status = hiera('nodo::role::yacy::status', 'running') + service { 'yacy': - ensure => running, + ensure => $yacy_status, require => Package['yacy'], } |