On Mon, Mar 22, 2010 at 7:33 PM, Smain Kahlouch <[email protected]> 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 [email protected].
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.