summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-09-27 14:08:54 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-09-27 14:08:54 -0700
commitaf0613a20b817d76353d0aa102038651b8beeecb (patch)
tree437a6ee96897637527bba0bd1bff0f92ebe2130d
parent32edd6dcfb8becf186709a19f5ce9adc44881b26 (diff)
downloadchef-af0613a20b817d76353d0aa102038651b8beeecb.tar.gz
change the pseudo-default here to true
package providers that don't know anything about allow_downgrade should get true by default. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package.rb b/lib/chef/provider/package.rb
index 113d33a2fc..8ddec561e7 100644
--- a/lib/chef/provider/package.rb
+++ b/lib/chef/provider/package.rb
@@ -666,7 +666,7 @@ class Chef
if new_resource.respond_to?("allow_downgrade")
new_resource.allow_downgrade
else
- false
+ true
end
end