Skip to content

Commit

Permalink
$::selinux is a bool, not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Dec 29, 2014
1 parent df68cdf commit 0012b4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/acceptance/apache_parameters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class { 'apache':
describe 'setup' do
it 'applies cleanly' do
pp = <<-EOS
if $::osfamily == 'RedHat' and $::selinux == 'true' {
if $::osfamily == 'RedHat' and $::selinux {
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
default => 'policycoreutils-python',
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class { 'apache': }
# Using puppet_apply as a helper
it 'should work with no errors' do
pp = <<-EOS
if $::osfamily == 'RedHat' and $::selinux == 'true' {
if $::osfamily == 'RedHat' and $::selinux {
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
default => 'policycoreutils-python',
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ class { 'apache::mod::fastcgi': }
describe 'additional_includes' do
it 'applies cleanly' do
pp = <<-EOS
if $::osfamily == 'RedHat' and $::selinux == 'true' {
if $::osfamily == 'RedHat' and $::selinux {
$semanage_package = $::operatingsystemmajrelease ? {
'5' => 'policycoreutils',
default => 'policycoreutils-python',
Expand Down

0 comments on commit 0012b4a

Please sign in to comment.