Skip to content

Commit

Permalink
actually apply the sysctl hash to test
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Apr 9, 2024
1 parent acbf1bb commit 400b863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/acceptance/augeasproviders_instances_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class { 'augeasproviders::instances':
it 'runs successfully' do
pp = <<-EOS
$augeasproviders_sysctl_hash = { 'net.ipv4.ip_forward' => { 'value' => '0' } }
class { 'augeasproviders::instances': }
class { 'augeasproviders::instances':
sysctl_hash => $augeasproviders_sysctl_hash,
}
EOS

apply_manifest(pp, catch_failures: true)
Expand Down

0 comments on commit 400b863

Please sign in to comment.