Skip to content

Commit 7ee2d4e

Browse files
authored
Merge pull request #265 from OpenVoxProject/augeas_acceptance
Update augeas test to detect provider failure
2 parents 901b54b + ac45f87 commit 7ee2d4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/acceptance/tests/augeas_validation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
]
3333
}
3434
EOF
35-
assert_equal(on(agent, "puppet apply -e \"#{file}\"").exit_code, 0, 'Puppet apply of the augeas resource returned a non-zero exit code')
35+
on(agent, "puppet apply -e \"#{file}\" --detailed-exitcodes", acceptable_exit_codes: [2])
3636
end
3737
end
3838
end

0 commit comments

Comments
 (0)