File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 72
72
:notify => 'Service[httpd]'
73
73
)
74
74
should contain_class ( 'puppet::storeconfigs' ) . with (
75
- :before => 'Anchor[puppet::master::end]'
75
+ :before => [ 'Anchor[puppet::master::end]' ]
76
76
)
77
77
should contain_class ( 'puppet::passenger' ) . with (
78
- :before => 'Anchor[puppet::master::end]'
78
+ :before => [ 'Anchor[puppet::master::end]' ]
79
79
)
80
80
should contain_ini_setting ( 'puppetmasterenvironmentpath' ) . with (
81
81
:ensure => 'absent' ,
240
240
:notify => 'Service[httpd]'
241
241
)
242
242
should contain_class ( 'puppet::storeconfigs' ) . with (
243
- :before => 'Anchor[puppet::master::end]'
243
+ :before => [ 'Anchor[puppet::master::end]' ]
244
244
)
245
245
should contain_class ( 'puppet::passenger' ) . with (
246
- :before => 'Anchor[puppet::master::end]'
246
+ :before => [ 'Anchor[puppet::master::end]' ]
247
247
)
248
248
should contain_ini_setting ( 'puppetmasterenvironmentpath' ) . with (
249
249
:ensure => 'absent'
Original file line number Diff line number Diff line change 10
10
:puppet_ssldir => '/var/lib/puppet/ssl' ,
11
11
:certname => 'test.test.com' ,
12
12
:conf_dir => '/etc/puppet' ,
13
- :dns_alt_names => [ 'puppet' ] ,
13
+ :dns_alt_names => 'puppet' ,
14
14
}
15
15
end
16
16
context 'on Debian' do
30
30
should contain_exec ( 'Certificate_Check' ) . with (
31
31
:command =>
32
32
"puppet cert clean #{ params [ :certname ] } ; " +
33
- "puppet certificate --ca-location=local --dns_alt_names=#{ params [ :dns_alt_names ] . join ( ',' ) } generate #{ params [ :certname ] } " +
33
+ "puppet certificate --ca-location=local --dns_alt_names=#{ params [ :dns_alt_names ] } generate #{ params [ :certname ] } " +
34
34
" && puppet cert sign --allow-dns-alt-names #{ params [ :certname ] } " +
35
35
" && puppet certificate --ca-location=local find #{ params [ :certname ] } " ,
36
36
:unless => "/bin/ls #{ params [ :puppet_ssldir ] } /certs/#{ params [ :certname ] } .pem" ,
You can’t perform that action at this time.
0 commit comments