Hi, Suppose I have 3 nodes, and I want puppet to perform a set of steps on them in a different order: Apply step A on each of them, then step B on each of them, then step C on each of them, and so on. I''m wondering if puppet supports this scenario. Thanks. -- 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.
On Tue, Sep 21, 2010 at 12:49 PM, 2ead3bcd <leochen76@hotmail.com> wrote:> Hi, > > Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I''m wondering if puppet supports this scenario. Thanks. > >I''m not quite sure what you''re saying. A diffierent order than what? Do you mean you want to specify the order instead of using the default (and random) order? Also, the order only matters on each right? There isn''t a way to synchronize actions between computers so if step A needs to finish on all computers before step B finishes on any computer, you''re out of luck. If you just want to order resources, here''s an example. file { "/tmp/puppet-first": ensure => present, } file { "/tmp/puppet-second": ensure => present, require => File["/tmp/puppet-first"], } -- 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.
> Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I''m wondering if puppet supports this scenario. Thanks.In other words, you want to guarantee every host has A before any host gets B? This strikes me as something better suited to a push-oriented system like ssh-in-a-for-loop. Fabric, Capistrano, and MCollective would all be solid choices. -- 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.
On Tue, Sep 21, 2010 at 12:49 PM, 2ead3bcd <leochen76@hotmail.com> wrote:> Hi, > > Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I''m wondering if puppet supports this scenario. Thanks.What''s the actual problem you''re trying to solve if you can briefly outline 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. > >-- nigel -- 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.