diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-26 00:12:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-26 00:12:28 -0300 |
commit | e5f1c681276315d1f994447c535ac1100a979277 (patch) | |
tree | 93928f7e4d88a2f0d9f9b58df9d9ef621526aaca /manifests/role | |
parent | 884e03d61c8a557b29411377908e5006140b8351 (diff) | |
download | puppet-nodo-e5f1c681276315d1f994447c535ac1100a979277.tar.gz puppet-nodo-e5f1c681276315d1f994447c535ac1100a979277.tar.bz2 |
Introducing 'nodo::role::yacy::status'
Diffstat (limited to 'manifests/role')
-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'], } |