File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2424 it { is_expected . to contain_group ( "www-data" ) }
2525 it { is_expected . to contain_class ( "apache::service" ) }
2626 it { is_expected . to contain_file ( "/var/www" ) . with (
27- 'ensure' => 'directory' ,
27+ 'ensure' => 'directory'
2828 )
2929 }
3030 it { is_expected . to contain_file ( "/etc/apache2/sites-enabled" ) . with (
168168 end
169169
170170 it { is_expected . to contain_file ( "/etc/apache2/apache2.conf" ) . with_content %r{^LogFormat "%v %h %l %u %t \" %r\" %>s %b" vhost_common\n } }
171- it { is_expected . to contain_file ( "/etc/apache2/apache2.conf" ) . with_content %r{^LogFormat "%v %h %l %u %t \" %r\" %>s %b \" %{Referer}i\" \" %{User-agent}i\" " vhost_combined\n } }
171+ it { is_expected . to contain_file ( "/etc/apache2/apache2.conf" ) . with_content %r{^LogFormat "%v %h %l %u %t \" %r\" %>s %b \" %\ { Referer\ } i\" \" %\ { User-agent\ } i\" " vhost_combined\n } }
172172 end
173173 end
174174
230230 it { is_expected . to contain_group ( "apache" ) }
231231 it { is_expected . to contain_class ( "apache::service" ) }
232232 it { is_expected . to contain_file ( "/var/www/html" ) . with (
233- 'ensure' => 'directory' ,
233+ 'ensure' => 'directory'
234234 )
235235 }
236236 it { is_expected . to contain_file ( "/etc/httpd/conf.d" ) . with (
507507 it { is_expected . to contain_group ( "www" ) }
508508 it { is_expected . to contain_class ( "apache::service" ) }
509509 it { is_expected . to contain_file ( "/usr/local/www/apache22/data" ) . with (
510- 'ensure' => 'directory' ,
510+ 'ensure' => 'directory'
511511 )
512512 }
513513 it { is_expected . to contain_file ( "/usr/local/etc/apache22/Vhosts" ) . with (
You can’t perform that action at this time.
0 commit comments