We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 901b54b + ac45f87 commit 7ee2d4eCopy full SHA for 7ee2d4e
1 file changed
packaging/acceptance/tests/augeas_validation.rb
@@ -32,7 +32,7 @@
32
]
33
}
34
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')
+ on(agent, "puppet apply -e \"#{file}\" --detailed-exitcodes", acceptable_exit_codes: [2])
36
end
37
38
0 commit comments