From 0aebb4c41f96f6ad7a7e8a3b07eaffa1f9075f51 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 8 Mar 2016 18:38:22 +0100 Subject: [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 --- puppet/manifests/site.pp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'puppet/manifests') 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, ', ') -- cgit v1.2.3