From 021a33167351735be293946a80ff9b58be32db6a Mon Sep 17 00:00:00 2001 From: Goh Choon Ming Date: Tue, 26 Jul 2016 13:50:22 +0200 Subject: [PATCH] change service provider for redhat variants redhat variants rely on the 'redhat' provider not init. Using the init provider will trigger Error: /Stage[main]/Kibana4::Service/Service[kibana4]: Provider init is not functional on this host --- manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 4ca8513..b1ce093 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -15,8 +15,8 @@ 'Debian': { $service_provider = debian } 'RedHat': { case $::operatingsystemmajrelease { - '7': { $service_provider = systemd } - default: { $service_provider = init } + '7': { $service_provider = 'systemd' } + default: { $service_provider = 'redhat' } } } default: { $service_provider = init }