You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2019/02/12 06:43:00 UTC

[jira] [Commented] (BIGTOP-3160) [Provisioner] Treat both exit code 0 and 2 as success for Puppet execution

    [ https://issues.apache.org/jira/browse/BIGTOP-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765732#comment-16765732 ] 

Evans Ye commented on BIGTOP-3160:
----------------------------------

PR: https://github.com/apache/bigtop/pull/466

> [Provisioner] Treat both exit code 0 and 2 as success for Puppet execution
> --------------------------------------------------------------------------
>
>                 Key: BIGTOP-3160
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3160
>             Project: Bigtop
>          Issue Type: Sub-task
>          Components: provisioner
>    Affects Versions: 1.3.0
>            Reporter: Evans Ye
>            Assignee: Evans Ye
>            Priority: Major
>
> With BIGTOP-3150, when exit code != 0, we'll raise a failure. However both exit code 0 and 2 are success executions. See the doc:
> {code}
> 0: The run succeeded with no changes or failures; the system was already in the desired state.
> 1: The run failed, or wasn't attempted due to another run already in progress.
> 2: The run succeeded, and some resources were changed.
> 4: The run succeeded, and some resources failed.
> 6: The run succeeded, and included both changes and failures.
> {code}
> Ref: https://puppet.com/docs/puppet/5.4/man/agent.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)