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/03/18 15:42:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Evans Ye updated BIGTOP-3160:
-----------------------------
    Fix Version/s:     (was: 1.3.1)
                   1.4.0

> [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
>             Fix For: 1.4.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)