Skip to content

Commit 0b27ed3

Browse files
committed
fix rhsmd.processTimeout support
1 parent 862d30c commit 0b27ed3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
2020-4-28 5.5.0
2-
- Support rhsm.processTimeout in #97
2+
- Support rhsmd.processTimeout in #97
33
- Include masking of Entitlement type per MR in #99
44

55
2020-04-28 5.4.2

lib/puppet/type/rhsm_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def self.text_options
7272
rhsm_plugindir: 'rhsm.plugindir',
7373
rhsmcertd_certcheckinterval: 'rhsmcertd.certcheckinterval',
7474
rhsmcertd_autoattachinterval: 'rhsmcertd.autoattachinterval',
75+
rhsmd_processtimeout: 'rhsmd.processtimeout',
7576
logging_default_log_level: 'logging.default_log_level',
7677
logging_subscription_manager: 'logging.subscription_manager',
7778
logging_rhsm: 'logging.rhsm',
@@ -199,7 +200,7 @@ def self.binary_options
199200
end
200201
end
201202

202-
newproperty(:rhsmd_processTimeout) do
203+
newproperty(:rhsmd_processtimeout) do
203204
desc 'Control how long to allow the rhsmd cron job to run'
204205
validate do |value|
205206
raise("Require a number. Was given #{value}.") unless value.to_i and value.to_i >= 0

spec/unit/type/rhsm_config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# rhsm_repo_ca_cert => '/etc/rhsm/ca/',
2929
# rhsm_report_package_profile => 1,
3030
# rhsmcertd_autoattachinterval => 1440,
31-
# rhsm_processTimeout => 3600,
31+
# rhsmd_processTimeout => 3600,
3232
# }
3333

3434
described_class = Puppet::Type.type(:rhsm_config)

0 commit comments

Comments
 (0)