summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-12-21 10:20:51 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-03-15 18:03:29 -0700
commit60fd424dd0035e53158d29c1c1b3ae8b3ddced28 (patch)
treeea5b5bfefdcafbf57b2577a0e978302e50a2004b
parent87f7236b16b1ff446360defd3bcd6c52e6771ec7 (diff)
downloadchef-60fd424dd0035e53158d29c1c1b3ae8b3ddced28.tar.gz
allow using yum_package explicitly on non-linux O/Sen
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package/yum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/yum.rb b/lib/chef/provider/package/yum.rb
index 94f3254aaf..26af052074 100644
--- a/lib/chef/provider/package/yum.rb
+++ b/lib/chef/provider/package/yum.rb
@@ -43,7 +43,7 @@ class Chef
provides :package, platform_family: %w{rhel}, platform_version: ">= 8"
- provides :yum_package, os: "linux"
+ provides :yum_package
#
# Most of the magic in this class happens in the python helper script. The ruby side of this