>> A notify for me says run this resource again, or schedule it to be run >> again (it may be scheduled by other classes). > > you don't run resources, you manage resources. It is a fundamental > concept of puppet that you don't execute a bunch of scripts, instead > you describe the state of your infrastructure and let puppet do the > necessary steps to fulfill this state.
s /run/manage/g >> Why wouldn't I want a resource to be managed multiple times in one run? > > because you describe the state of your infrastructure with your > manifests, hence you describe the state of your resources and this > state can't really change various times during the run. What puppet > does is a transition of the resource from the current state into the > described, expected state and this transition is done at the point > when the resource is managed, the point when puppet arrived at the > resource while traversing the graph. > I agree that you might still say: Well what I'm interested in - and > this is what I still describe in my manifests - is the state at the > end of a puppet run. However if you think about all the other > resources that can receive a notify - especially the exec resource - > you end up very quickly finding a lot of more complex situations if a > before isn't implied by a notify. I think its still valid to be able to use it this way, especially in the case of a notify, when multiple resources can issue a notify, but the action of the notify only has to happen once when those resources are completed. I can see situations with over types where this may not apply, and the exec example you give supports the current behaviour well. But we want to do less exec's though, as that's just scripts :-) > ps: this is just my point of view how I think that puppet works and I > think it's good that it works that way. But it's not the only truth > out there... And I'm always open to other ideas. Discussions like this only add value. Seeing or doing a module of when a require class would be more beneficial then an include class would probably help me see the value in this feature. Matt --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---