summaryrefslogtreecommitdiff
path: root/lib/chef/provider/service.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-03 13:57:59 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-04-03 13:57:59 -0700
commite9e9fe8711248fc9748fd3b633b7418eb8cd0ed1 (patch)
tree0df59b5cd10b5eaf4b41cef2f6e91b7880c2e563 /lib/chef/provider/service.rb
parentb96431d882d95ea758dba5976623f764e769683f (diff)
downloadchef-e9e9fe8711248fc9748fd3b633b7418eb8cd0ed1.tar.gz
chef code changes for changing amazon platform_family
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/service.rb')
-rw-r--r--lib/chef/provider/service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service.rb b/lib/chef/provider/service.rb
index 9f06e2eb25..34ecf2f0bc 100644
--- a/lib/chef/provider/service.rb
+++ b/lib/chef/provider/service.rb
@@ -245,7 +245,7 @@ class Chef
Chef.set_provider_priority_array :service, [ Systemd, Arch ], platform_family: "arch"
Chef.set_provider_priority_array :service, [ Systemd, Gentoo ], platform_family: "gentoo"
Chef.set_provider_priority_array :service, [ Systemd, Upstart, Insserv, Debian, Invokercd ], platform_family: "debian"
- Chef.set_provider_priority_array :service, [ Systemd, Insserv, Redhat ], platform_family: %w{rhel fedora suse}
+ Chef.set_provider_priority_array :service, [ Systemd, Insserv, Redhat ], platform_family: %w{rhel fedora suse amazon}
end
end
end