diff options
author | Grant Ridder <shortdudey123@gmail.com> | 2016-09-28 16:58:43 -0700 |
---|---|---|
committer | Grant Ridder <shortdudey123@gmail.com> | 2016-09-28 16:58:43 -0700 |
commit | 5a83658dd77f1d43fccb7321a116645095e238de (patch) | |
tree | aa75ebd7e7b0d0cf8ef353dccae2f03eb933ec1e | |
parent | 30dab066b5aac64ca2436491453b3bd889abc665 (diff) | |
download | chef-5a83658dd77f1d43fccb7321a116645095e238de.tar.gz |
Set yum_repository gpgcheck default to true
Fixes https://github.com/chef/chef/issues/5397
-rw-r--r-- | lib/chef/resource/yum_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_repository.rb b/lib/chef/resource/yum_repository.rb index 2989f1bf87..b1859361b1 100644 --- a/lib/chef/resource/yum_repository.rb +++ b/lib/chef/resource/yum_repository.rb @@ -35,7 +35,7 @@ class Chef property :exclude, String, regex: /.*/ property :failovermethod, String, equal_to: %w{priority roundrobin} property :fastestmirror_enabled, [TrueClass, FalseClass] - property :gpgcheck, [TrueClass, FalseClass] + property :gpgcheck, [TrueClass, FalseClass], default: true property :gpgkey, [String, Array], regex: /.*/ property :http_caching, String, equal_to: %w{packages all none} property :include_config, String, regex: /.*/ |