Oh I forgot to add. Usually you can avoid depending on resources in a define, and most of the times you should stay away. The only useful way to use this is either in another define or a specific class that does something. Otherwise you might want to include the resource that requires the definition to be applied in the definition.

Also note the difference between classes and definition, and where should you use one or another (as a newbie you usually get the two mixed up) http://docs.reductivelabs.com/guides/language_tutorial.html#classes_vs_definitions (here it is explained)

Silviu

On 01/18/2010 01:07 PM, Jesús Couto wrote:
To show I'm a complete clueless newbie, let me add the more fundamental question "resources on a class/definitions get done on the order it is specifed, right? No need to require/before them inside, right?" to the other one.




--
------------------------------

Jesús Couto F.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@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.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to