On Mon, Mar 22, 2010 at 7:33 PM, Smain Kahlouch <smain...@gmail.com> wrote:
> I would like to give a parameter to my ldap module. > > In the node definition i would like to specify the domain. > Example : > ldapnode { > include ldap::master::domain("domain.tld") > } > > And in the manifest : > define ldap::master::domain() {...} > > but i don't know how to do it. > Could you please help me ? Do you mean something like: node ldapnode { $domain = "domain.tld" include ldap::master::domain } ..... class ldap::master::domain { # ... use value of $domain here } .... -- 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.