Hi All,

How would I go about achieving the following?

node basenode {
     include motd
}

node www inherits basenode {
    $purpose = "web server"
}

In the "motd" module, I have a template that formats a standard /etc/motd
file and I want to make use of the $purpose variable. When I access
scope.lookupvar('::purpose'), I get undefined.

Thanks,
Gonzalo

-- 
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.

Reply via email to