File tree 3 files changed +12
-13
lines changed
3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -464,11 +464,6 @@ Style/BlockComments:
464
464
Enabled : false
465
465
Style/BlockDelimiters :
466
466
Enabled : false
467
- Style/BracesAroundHashParameters :
468
- Description : |
469
- Braces are actually required by Ruby 2.7 in order to disambiguate between
470
- keword arguments and actual hash parameters. Removed in RuboCop v0.80.0.
471
- Enabled : false
472
467
Style/CaseEquality :
473
468
Enabled : false
474
469
Style/CharacterLiteral :
Original file line number Diff line number Diff line change 18
18
"operatingsystem" : " RedHat" ,
19
19
"operatingsystemrelease" : [
20
20
" 6" ,
21
- " 7"
21
+ " 7" ,
22
+ " 8"
22
23
]
23
24
},
24
25
{
25
26
"operatingsystem" : " CentOS" ,
26
27
"operatingsystemrelease" : [
27
28
" 6" ,
28
- " 7"
29
+ " 7" ,
30
+ " 8"
29
31
]
30
32
},
31
33
{
32
34
"operatingsystem" : " OracleLinux" ,
33
35
"operatingsystemrelease" : [
34
36
" 6" ,
35
- " 7"
37
+ " 7" ,
38
+ " 8"
36
39
]
37
40
},
38
41
{
39
42
"operatingsystem" : " Scientific" ,
40
43
"operatingsystemrelease" : [
41
44
" 6" ,
42
- " 7"
45
+ " 7" ,
46
+ " 8"
43
47
]
44
48
},
45
49
{
53
57
"requirements" : [
54
58
{
55
59
"name" : " puppet" ,
56
- "version_requirement" : " >= 5.5.1"
60
+ "version_requirement" : " >= 5.5.1 < 8.0.0 "
57
61
}
58
62
],
59
- "pdk-version" : " 1.18.1 " ,
63
+ "pdk-version" : " 2.0.0 " ,
60
64
"template-url" : " https://github.com/puppetlabs/pdk-templates#master" ,
61
65
"template-ref" : " remotes/origin/master-0-ga58fd92"
62
66
}
Original file line number Diff line number Diff line change 20
20
end
21
21
22
22
context 'when vmware-toolbox-cmd is present on the PATH' do
23
- let ( :facts ) { super ( ) . merge ( { puppet_metrics_collector : { have_vmware_tools : true } } ) }
23
+ let ( :facts ) { super ( ) . merge ( puppet_metrics_collector : { have_vmware_tools : true } ) }
24
24
25
25
it { is_expected . to contain_cron ( 'vmware_metrics_collection' ) . with_ensure ( 'present' ) }
26
26
end
27
27
28
28
context 'when vmware-toolbox-cmd is not present on the PATH' do
29
- let ( :facts ) { super ( ) . merge ( { puppet_metrics_collector : { have_vmware_tools : false } } ) }
29
+ let ( :facts ) { super ( ) . merge ( puppet_metrics_collector : { have_vmware_tools : false } ) }
30
30
31
31
it { is_expected . to contain_notify ( 'vmware_tools_warning' ) }
32
32
it { is_expected . to contain_cron ( 'vmware_metrics_collection' ) . with_ensure ( 'absent' ) }
You can’t perform that action at this time.
0 commit comments