Skip to content

Commit

Permalink
actions module is not included by default in Debian/Ubuntu
Browse files Browse the repository at this point in the history
Fix acceptance tests
  • Loading branch information
Carlos Sanchez committed Mar 10, 2014
1 parent 391bd5b commit ac167f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,11 @@ class { 'apache': service_ensure => stopped, }
class { 'apache': }
host { 'test.server': ip => '127.0.0.1' }
apache::vhost { 'test.server':
docroot => '/tmp',
action => 'php-fastcgi',
docroot => '/tmp',
action => 'php-fastcgi',
}
EOS
pp = pp + "\nclass { 'apache::mod::actions': }" if fact('osfamily') == 'Debian'
apply_manifest(pp, :catch_failures => true)
end

Expand Down

0 comments on commit ac167f3

Please sign in to comment.