Hi,

No, puppet is not transactionable. There is also no simple way to do it in 
puppet and running noop first is no guarantee that the run will succeed.

Version control may help you out to 'roll back' but it would be messy depending 
on changes. Traditional methods of snapshoting disk or backup/restore can be 
wrapped around it (never done that myself).

Rspec testing can help you out a bit in testing as of course so can other pre 
deployment testing.

If the client doesn't like 'always roll forward' then puppet might not float 
their boat.

Cheers,
Den

On 07/05/2013, at 10:17, James Birchfield <jbirchfi...@missiondata.com> wrote:

> From all the reading I have done, I have come to the conclusion that 
> 'transaction' support is not offered in Puppet, in any of the predefined 
> language constructs (Specifically speaking of package).  Our client has a 
> request that if one package declaration fails, all other package declarations 
> that were successful be rolled back, and the catalog run immediately stop 
> afterwards.
> 
> From what I can tell, the best approach to this is to run the puppet agent 
> with '--noop' prior to the actual run and check the return code.  If it is 
> higher than 2, we have a potential issue.  Does this sound correct?
> 
> Or is there some puppet magic recipe I am missing?
> 
> Thanks!
> Birch
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to