Skip to content

Commit

Permalink
Merge pull request #733 from mhaskel/fix-test-failures
Browse files Browse the repository at this point in the history
Fix test failures
  • Loading branch information
hunner committed May 21, 2014
2 parents 2c58046 + 644cb96 commit 0b66f60
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/apache_parameters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ class { 'apache':
pp = <<-EOS
if $::osfamily == 'RedHat' and $::selinux == 'true' {
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
'default' => 'policycoreutils-python',
'5' => 'policycoreutils',
default => 'policycoreutils-python',
}
package { $semanage_package: ensure => installed }
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class { 'apache': }
pp = <<-EOS
if $::osfamily == 'RedHat' and $::selinux == 'true' {
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
'default' => 'policycoreutils-python',
'5' => 'policycoreutils',
default => 'policycoreutils-python',
}
package { $semanage_package: ensure => installed }
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1048,8 +1048,8 @@ class { 'apache::mod::fastcgi': }
require => Package[$semanage_package],
}
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
'default' => 'policycoreutils-python',
'5' => 'policycoreutils',
default => 'policycoreutils-python',
}
package { $semanage_package: ensure => installed }
Expand Down

0 comments on commit 0b66f60

Please sign in to comment.