summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Thompson <me@andytson.com>2014-09-27 13:42:18 +0100
committerAndy Thompson <me@andytson.com>2014-09-27 13:42:18 +0100
commite2e8c9a66409e7c1dab0bf3177f5ab3b258b9cbf (patch)
treed57620e8b155a7e9388302d4b8280852000d46df
parent791232c8e08743447fd2a1bf4eb69b87e5d24c00 (diff)
downloadchef-e2e8c9a66409e7c1dab0bf3177f5ab3b258b9cbf.tar.gz
Fix RHEL pre 7 provider service mapping
This is to fix the issue made when the Redhat-based 7 distro support was added.
-rw-r--r--lib/chef/platform/provider_mapping.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform/provider_mapping.rb b/lib/chef/platform/provider_mapping.rb
index b10fecc53e..0766ccffa7 100644
--- a/lib/chef/platform/provider_mapping.rb
+++ b/lib/chef/platform/provider_mapping.rb
@@ -223,7 +223,7 @@ class Chef
:ifconfig => Chef::Provider::Ifconfig::Redhat
},
"< 7" => {
- :service => Chef::Provider::Service::Systemd
+ :service => Chef::Provider::Service::Redhat
}
},
:ibm_powerkvm => {