Skip to content

Commit

Permalink
Fix class_disabled_spec manifest definitions
Browse files Browse the repository at this point in the history
Fixes: 28bc41b ("migrater to beaker_puppet_helpers")
  • Loading branch information
ekohl authored and bastelfreak committed Aug 9, 2024
1 parent de61e96 commit 9c6e83e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/acceptance/class_disabled_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class { 'selinux': mode => 'permissive' }
end

context 'when switching from enforcing to disabled' do
let(:pp) do
let(:manifest) do
<<-EOS
class { 'selinux': mode => 'disabled' }
EOS
Expand Down Expand Up @@ -75,7 +75,7 @@ class { 'selinux': mode => 'disabled' }
end

it 'applies without changes' do
apply_manifest(pp, catch_changes: true)
apply_manifest(manifest, catch_changes: true)
end

describe command('getenforce') do
Expand Down Expand Up @@ -120,7 +120,7 @@ class { 'selinux': mode => 'permissive' }
end

it 'applies without changes' do
apply_manifest(pp, catch_changes: true)
apply_manifest(manifest, catch_changes: true)
end

describe command('getenforce') do
Expand Down

0 comments on commit 9c6e83e

Please sign in to comment.