Skip to content

Commit 34c8908

Browse files
committed
Accept #71 Added support for repomd_gpg_url config parmeter
2 parents c9d6336 + 66131aa commit 34c8908

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

data/defaults.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ subscription_manager::config_hash:
2222
rhsm_manage_repos: true
2323
rhsmcertd_certcheckinterval: 240
2424
rhsmcertd_autoattachinterval: 1440
25+
rhsm_repomd_gpg_url: ''
2526
# also, proxy settings
2627
# server_proxy_hostname: ''
2728
# server_proxy_port: ''

lib/puppet/type/rhsm_config.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def self.text_options
6262
rhsm_baseurl: 'rhsm.baseurl',
6363
rhsm_ca_cert_dir: 'rhsm.ca_cert_dir',
6464
rhsm_repo_ca_cert: 'rhsm.repo_ca_cert',
65+
rhsm_repomd_gpg_url: 'rhsm.repomd_gpg_url',
6566
rhsm_productcertdir: 'rhsm.productcertdir',
6667
rhsm_entitlementcertdir: 'rhsm.entitlementcertdir',
6768
rhsm_consumercertdir: 'rhsm.consumercertdir',
@@ -329,4 +330,9 @@ def self.binary_options
329330
raise("Require a small positive number. Was given #{value}.") unless value.to_i && (value.to_i >= 0)
330331
end
331332
end
333+
334+
newproperty(:rhsm_repomd_gpg_url) do
335+
desc "URL for the repository GPG key"
336+
end
337+
332338
end

0 commit comments

Comments
 (0)