List

I want to have a per server snmp password setup. When I set it up as below 
and run the client it is unable to process the module because it cannot 
find the $snmp_password. 

Is there a way to export a $variable from a node so it can be read when the 
node processes one of its inherited modules? 
Is there something I can put in the inherited node like import $variable 
before the included modules execute? 

FYI running puppet 2.6.16

>From nodes.pp: 
node basenode-core {
    $snmp_server = "10.0.0.10"
    include snmpd
}

node 'myserver.domain.com' inherits basenode-core {
    $snmp_password = "mypassword"
}

Thanks, 
Doug F

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to