Tim Uckun
2009-Sep-11 03:21 UTC
[Puppet Users] What happens if puppet fails half way into processing a catalog?
If puppet fails half way into processing a catalog the system might be in an unusable state right? For example if it installs a package but not the one that follows it or can''t set up the config file for whatever reason it doesn''t know how to "undo " the catalog does it? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Steven Nemetz
2009-Sep-11 04:06 UTC
[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?
If you have dependencies set for a chain of events and it fails part way, that is how the system is left. Everything that succeeded before the failure with stay there and nothing in the dependence chain after the failure will have been done. Every run of puppet after this, it will keep trying to finish. But of course, will not succeed unless something changes to correct the problem. This does not mean the system is unusable. But at least one thing on the system is not how you want it. Steven> -----Original Message----- > From: puppet-users@googlegroups.com > [mailto:puppet-users@googlegroups.com] On Behalf Of Tim Uckun > Sent: Thursday, September 10, 2009 8:22 PM > To: puppet-users@googlegroups.com > Subject: [Puppet Users] What happens if puppet fails half way > into processing a catalog? > > > If puppet fails half way into processing a catalog the system > might be in an unusable state right? > > For example if it installs a package but not the one that > follows it or can''t set up the config file for whatever > reason it doesn''t know how to "undo " the catalog does it? >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig
2009-Sep-11 20:20 UTC
[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?
I think you are alluding to transactions. This feature does not exist currently in Puppet. -L -- Larry Ludwig Reductive Labs --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Larry Ludwig
2009-Sep-11 20:26 UTC
[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?
I think you are alluding to transactions. This feature does not exist currently in Puppet. -L -- Larry Ludwig Reductive Labs --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Tim Uckun
2009-Sep-12 10:46 UTC
[Puppet Users] Re: What happens if puppet fails half way into processing a catalog?
On Sat, Sep 12, 2009 at 8:20 AM, Larry Ludwig <larry@reductivelabs.com> wrote:> > I think you are alluding to transactions. This feature does not exist > currently in Puppet. >Sometimes I think system administration is like Make as in "In order to create file X go through these steps". Sometimes I think it''s like a Diff as in "this is what it should look like, this is what it does look like, apply this patch". Sometimes I think it''s like migrations "The system started like this, I applied these steps to get to where I am now" Maybe it''s a combination of all of the above. Maybe we can have "up" and "down" actions. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---