Is it possible to require a user define? Something like:

define a {
     type { "$name":
     }
    type { "xyy":
    }
}

type { "foo":
     require => A["bar"],
}

I have done this in a module without a syntax error, but I'm not sure
it is working as expected. It could be my error elsewhere, but I
wanted to check if this should work. What I would hope would happen is
that "foo" becomes dependent on the expanded macro: [Type["bar"], Type
["xyz"]

-Brad
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to