Revision 359a604f
Added by Ivan Necas about 10 years ago
modules/apache/spec/acceptance/vhost_spec.rb | ||
---|---|---|
apply_manifest(pp, :catch_failures => true)
|
||
end
|
||
|
||
it 'import_script applies cleanly', :unless => fact('lsbcodename') == 'lucid' do
|
||
it 'import_script applies cleanly', :unless => (fact('lsbdistcodename') == 'lucid' or UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))) do
|
||
pp = <<-EOS
|
||
class { 'apache': }
|
||
class { 'apache::mod::wsgi': }
|
||
... | ... | |
apply_manifest(pp, :catch_failures => true)
|
||
end
|
||
|
||
describe file("#{$vhost_dir}/25-test.server.conf") do
|
||
describe file("#{$vhost_dir}/25-test.server.conf"), :unless => (fact('lsbdistcodename') == 'lucid' or UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))) do
|
||
it { should be_file }
|
||
it { should contain 'WSGIApplicationGroup %{GLOBAL}' }
|
||
it { should contain 'WSGIDaemonProcess wsgi processes=2' }
|
Also available in: Unified diff
Update puppet modules