aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-26 00:12:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-26 00:12:28 -0300
commite5f1c681276315d1f994447c535ac1100a979277 (patch)
tree93928f7e4d88a2f0d9f9b58df9d9ef621526aaca
parent884e03d61c8a557b29411377908e5006140b8351 (diff)
downloadpuppet-nodo-e5f1c681276315d1f994447c535ac1100a979277.tar.gz
puppet-nodo-e5f1c681276315d1f994447c535ac1100a979277.tar.bz2
Introducing 'nodo::role::yacy::status'
-rw-r--r--manifests/role/yacy.pp4
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'],
}