Skip to content

Commit

Permalink
Correct the name of this fact.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Penney committed Mar 1, 2014
1 parent 12eec9c commit 6f45b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ class { 'apache::mod::wsgi': }
apply_manifest(pp, :catch_failures => true)
end

it 'import_script applies cleanly', :unless => (fact('lsbcodename') == 'lucid' or UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))) 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': }
Expand All @@ -899,7 +899,7 @@ class { 'apache::mod::wsgi': }
apply_manifest(pp, :catch_failures => true)
end

describe file("#{$vhost_dir}/25-test.server.conf"), :unless => (fact('lsbcodename') == 'lucid' or UNSUPPORTED_PLATFORMS.include?(fact('osfamily'))) 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' }
Expand Down

0 comments on commit 6f45b71

Please sign in to comment.