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 7272 :notify => 'Service[httpd]'
7373 )
7474 should contain_class ( 'puppet::storeconfigs' ) . with (
75- :before => 'Anchor[puppet::master::end]'
75+ :before => [ 'Anchor[puppet::master::end]' ]
7676 )
7777 should contain_class ( 'puppet::passenger' ) . with (
78- :before => 'Anchor[puppet::master::end]'
78+ :before => [ 'Anchor[puppet::master::end]' ]
7979 )
8080 should contain_ini_setting ( 'puppetmasterenvironmentpath' ) . with (
8181 :ensure => 'absent' ,
240240 :notify => 'Service[httpd]'
241241 )
242242 should contain_class ( 'puppet::storeconfigs' ) . with (
243- :before => 'Anchor[puppet::master::end]'
243+ :before => [ 'Anchor[puppet::master::end]' ]
244244 )
245245 should contain_class ( 'puppet::passenger' ) . with (
246- :before => 'Anchor[puppet::master::end]'
246+ :before => [ 'Anchor[puppet::master::end]' ]
247247 )
248248 should contain_ini_setting ( 'puppetmasterenvironmentpath' ) . with (
249249 :ensure => 'absent'
Original file line number Diff line number Diff line change 1010 :puppet_ssldir => '/var/lib/puppet/ssl' ,
1111 :certname => 'test.test.com' ,
1212 :conf_dir => '/etc/puppet' ,
13- :dns_alt_names => [ 'puppet' ] ,
13+ :dns_alt_names => 'puppet' ,
1414 }
1515 end
1616 context 'on Debian' do
3030 should contain_exec ( 'Certificate_Check' ) . with (
3131 :command =>
3232 "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 ] } " +
3434 " && puppet cert sign --allow-dns-alt-names #{ params [ :certname ] } " +
3535 " && puppet certificate --ca-location=local find #{ params [ :certname ] } " ,
3636 :unless => "/bin/ls #{ params [ :puppet_ssldir ] } /certs/#{ params [ :certname ] } .pem" ,
You can’t perform that action at this time.
0 commit comments