summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-03-08 18:38:22 +0100
committervarac <varacanero@zeromail.org>2016-03-08 20:26:56 +0100
commit0aebb4c41f96f6ad7a7e8a3b07eaffa1f9075f51 (patch)
tree4fc9bd093feaf3100ff97fd218d59880bd6b113e
parent4e7376a70b30f488a707a3ddfff34a31b24b3370 (diff)
[feat] Use systemd as service provider
Even when the service provider defaults to systemd in latest puppet, it still defaults to 'debian' in puppet 3.7.2 (jessie version). We dropped wheezy support so we should use the systemd provider for now. https://docs.puppetlabs.com/puppet/latest/reference/type.html#service-provider-systemd
-rw-r--r--puppet/manifests/site.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp
index f012d6c8..ec42ffd4 100644
--- a/puppet/manifests/site.pp
+++ b/puppet/manifests/site.pp
@@ -6,6 +6,9 @@ Exec {
path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin'
}
+Service {
+ provider => 'systemd'
+}
$services = hiera('services', [])
$services_str = join($services, ', ')