File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 390
390
it { is_expected . to contain_file ( 'zpassenger.load' ) . with_content ( %r{^LoadModule mod_foo \/ usr\/ lib\/ apache2\/ modules\/ mod_passenger\. so$} ) }
391
391
end
392
392
393
- context 'with Ubuntu 16.04 defaults' do
393
+ context 'with defaults' do
394
394
it { is_expected . to contain_file ( 'passenger.conf' ) . with_content ( %r{PassengerRoot "/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini"} ) }
395
395
it { is_expected . to contain_file ( 'passenger.conf' ) . without_content ( %r{PassengerRuby} ) }
396
396
it { is_expected . to contain_file ( 'passenger.conf' ) . with_content ( %r{PassengerDefaultRuby "/usr/bin/ruby"} ) }
397
397
end
398
-
399
- if facts [ :os ] [ 'release' ] [ 'major' ] . to_i == 8
400
- context 'with Debian 8 defaults' do
401
- it { is_expected . to contain_file ( 'passenger.conf' ) . with_content ( %r{PassengerRoot "/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini"} ) }
402
- it { is_expected . to contain_file ( 'passenger.conf' ) . without_content ( %r{PassengerRuby} ) }
403
- it { is_expected . to contain_file ( 'passenger.conf' ) . with_content ( %r{PassengerDefaultRuby "/usr/bin/ruby"} ) }
404
- end
405
- end
406
398
when 'RedHat'
407
399
context 'on a RedHat OS' do
408
400
case facts [ :os ] [ 'release' ] [ 'major' ]
You can’t perform that action at this time.
0 commit comments