File tree Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Expand file tree Collapse file tree 6 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
2020-4-28 5.5.0
2
- - Support rhsm.processTimeout in #97
2
+ - Support rhsmd.processtimeout in #97
3
3
- Include masking of Entitlement type per MR in #99
4
4
5
5
2020-04-28 5.4.2
Original file line number Diff line number Diff line change 10
10
# See LICENSE for licensing.
11
11
#
12
12
13
-
14
-
15
13
require 'English'
16
14
17
15
begin
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ def self.text_options
72
72
rhsm_plugindir : 'rhsm.plugindir' ,
73
73
rhsmcertd_certcheckinterval : 'rhsmcertd.certcheckinterval' ,
74
74
rhsmcertd_autoattachinterval : 'rhsmcertd.autoattachinterval' ,
75
+ rhsmd_processtimeout : 'rhsmd.processtimeout' ,
75
76
logging_default_log_level : 'logging.default_log_level' ,
76
77
logging_subscription_manager : 'logging.subscription_manager' ,
77
78
logging_rhsm : 'logging.rhsm' ,
@@ -199,10 +200,10 @@ def self.binary_options
199
200
end
200
201
end
201
202
202
- newproperty ( :rhsmd_processTimeout ) do
203
+ newproperty ( :rhsmd_processtimeout ) do
203
204
desc 'Control how long to allow the rhsmd cron job to run'
204
205
validate do |value |
205
- raise ( "Require a number. Was given #{ value } ." ) unless value . to_i and value . to_i >= 0
206
+ raise ( "Require a number. Was given #{ value } ." ) unless value . to_i && value . to_i >= 0
206
207
end
207
208
end
208
209
Original file line number Diff line number Diff line change 9
9
add_filter '/.bundle/'
10
10
end
11
11
12
-
13
12
ARGV . clear
14
13
15
14
require 'puppet'
21
20
require 'puppetlabs_spec_helper/module_spec_helper'
22
21
23
22
RSpec . configure do |config |
24
- # FIXME REVISIT - We may want to delegate to Facter like we do in
23
+ # FIXME: We may want to delegate to Facter like we do in
25
24
# Puppet::PuppetSpecInitializer.initialize_via_testhelper(config) because
26
25
# this behavior is a duplication of the spec_helper in Facter.
27
26
config . before :each do
31
30
# Facter.collection.loader.load(:ipaddress)
32
31
# Facter::Util::Loader.any_instance.stubs(:load_all) # removed in 3
33
32
Facter . clear
34
- #Facter.clear_messages # removed in facter 3
33
+ # Facter.clear_messages # removed in facter 3
35
34
end
36
35
# config.pattern += ',spec/facter/**/*_spec.rb'
37
36
config . mock_with :rspec
Original file line number Diff line number Diff line change 36
36
System Type: Physical
37
37
EOD
38
38
39
- entitlement_data = raw_data . sub ( 'System Type' , 'Entitlement Type' )
39
+ entitlement_data = raw_data . sub ( 'System Type' , 'Entitlement Type' )
40
40
41
41
title1 = '1a2b3c4d5e6f1234567890abcdef12345'
42
42
title2 = '1234abc'
62
62
provider : :subscription_manager ,
63
63
}
64
64
65
-
66
65
provider_class = Puppet ::Type . type ( :rhsm_pool ) . provider ( :subscrption_manager )
67
66
68
67
describe provider_class , '#rhsm_pool.provider' do
Original file line number Diff line number Diff line change 28
28
# rhsm_repo_ca_cert => '/etc/rhsm/ca/',
29
29
# rhsm_report_package_profile => 1,
30
30
# rhsmcertd_autoattachinterval => 1440,
31
- # rhsm_processTimeout => 3600,
31
+ # rhsmd_processtimeout => 3600,
32
32
# }
33
33
34
34
described_class = Puppet ::Type . type ( :rhsm_config )
You can’t perform that action at this time.
0 commit comments