summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespiv <servers@espiv.net>2015-07-26 02:05:13 +0300
committerintrigeri <intrigeri@boum.org>2015-08-25 10:07:47 +0000
commita2534ed00db118ee86ab59fd484afd071a4c3653 (patch)
tree7f16f44f0ac309696aa82ca1fbe49d937344d20c
parenta70a5ecd8a671ff5a5ccd87fd3aa71a382aedae9 (diff)
Uses ensure_resource for webserver service
-rw-r--r--manifests/mirror.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/mirror.pp b/manifests/mirror.pp
index 556588e..af691fb 100644
--- a/manifests/mirror.pp
+++ b/manifests/mirror.pp
@@ -101,7 +101,5 @@ class tails::mirror (
],
}
- service { $webserver:
- ensure => running,
- }
+ ensure_resource('service', $webserver, {'ensure' => 'running'})
}