From e5f1c681276315d1f994447c535ac1100a979277 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 26 Aug 2013 00:12:28 -0300 Subject: Introducing 'nodo::role::yacy::status' --- manifests/role/yacy.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests') 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'], } -- cgit v1.2.3