diff options
author | Tim Smith <tsmith@chef.io> | 2016-09-30 15:41:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-30 15:41:17 -0700 |
commit | be60278add1f43bbcbcc87edfe0396bfb78e7762 (patch) | |
tree | df55e07c0f2696d78474fe1cd9b3ad80662aab99 /lib/chef/resource | |
parent | 35bbecf55a6d0d8d05364f0cee533574d53ac52d (diff) | |
parent | 5a83658dd77f1d43fccb7321a116645095e238de (diff) | |
download | chef-be60278add1f43bbcbcc87edfe0396bfb78e7762.tar.gz |
Merge pull request #5398 from shortdudey123/fix_yum_repository_gpgcheck
Set yum_repository gpgcheck default to true
Diffstat (limited to 'lib/chef/resource')
-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: /.*/ |