diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-03 13:57:59 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-03 13:57:59 -0700 |
commit | e9e9fe8711248fc9748fd3b633b7418eb8cd0ed1 (patch) | |
tree | 0df59b5cd10b5eaf4b41cef2f6e91b7880c2e563 /lib/chef/provider/service/redhat.rb | |
parent | b96431d882d95ea758dba5976623f764e769683f (diff) | |
download | chef-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/redhat.rb')
-rw-r--r-- | lib/chef/provider/service/redhat.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/service/redhat.rb b/lib/chef/provider/service/redhat.rb index 21ab678706..1da3d7c01a 100644 --- a/lib/chef/provider/service/redhat.rb +++ b/lib/chef/provider/service/redhat.rb @@ -1,6 +1,6 @@ # # Author:: AJ Christensen (<aj@hjksolutions.com>) -# Copyright:: Copyright 2008-2016, Chef Software, Inc. +# Copyright:: Copyright 2008-2017, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,7 +28,7 @@ class Chef # @api private attr_accessor :current_run_levels - provides :service, platform_family: %w{rhel fedora suse} do |node| + provides :service, platform_family: %w{rhel fedora suse amazon} do |node| Chef::Platform::ServiceHelpers.service_resource_providers.include?(:redhat) end |