On Wed, 19 Nov 2008 13:35:12 +0100 Arnau Bria wrote: > Hi, > > after reading Paul's reply to one of my questions: > http://groups.google.com/group/puppet-users/browse_thread/thread/4753569f04aee731?hl=en > > I tried to redefine all types dependencies and trasnform them > into definiton dependencies (trying to simplify all my conf).
Following Paul's advice, I've recreated all my definition and now are blocks of services, so dependencies are inside "modules". Then, in wn.pp: class worker_node { include autofs_master include fstab include local_conf include ssh_conf include repos include yaim_conf } and dependencies are correctly evaluted. I still wonder if old syntax: class worker_node { #aufs conf autofs_master {"pic": before => Fstab["pic"] } #adding some static resource fstab { "pic": require =>Autofs_master["pic"] } #adding local conf: ganglia/snmp local_conf { "pic": require => Fstab["pic"] } ... is completly wrong. Thanks, Arnau --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---