Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Conversation

@oc243
Copy link

@oc243 oc243 commented Feb 14, 2017

Currently the docker build succeeds even if puppet apply does not
succeed.

Puppet apply has a non-standrad system of return codes. It will
return 0 even if it hasn't sucessfully applied the manifest unless
--detailed-exitcodes is given. When this is given if it returns
0 or 2 the manifest has been applied sucessfully [0].

This patch makes the docker build fail if the manifest is not
applied successfully.

[0] https://docs.puppet.com/puppet/latest/man/apply.html#OPTIONS

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.857% when pulling 15277c8 on oc243:master into 5ef6e04 on puppetlabs:master.

Currently the docker build succeeds even if puppet apply does not
succeed.

Puppet apply has a non-standrad system of return codes. It will
return 0 even if it hasn't sucessfully applied the manifest unless
`--detailed-exitcodes` is given. When this is given if it returns
0 or 2 the manifest has been applied sucessfully [0].

This patch makes the docker build fail if the manifest is not
applied successfully.

[0] https://docs.puppet.com/puppet/latest/man/apply.html#OPTIONS
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.857% when pulling ab738c9 on oc243:master into 5ef6e04 on puppetlabs:master.

@oc243 oc243 closed this Feb 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants