On Oct 16, 2009, at 12:29 AM, R.I.Pienaar wrote:

>> This doesn't seem any different than what I thought we were already
>> talking about:
>>
>> class openvpn { ... }
>>
>> class client1::openvpn extends openvpn { ... }
>> class client2::openvpn extends openvpn { ... }
>>
>> node default {
>>   include "$hostname::openvpn"
>> }
>>
>> Or am I missing something?
>
>
> Well if we're just using import for this once something has been  
> imported it would be visible to the whole manifest, so if client1  
> extends ::config then client2 would get those extensions too, afaik,  
> again I'm not a big user of import but this seems right with what i  
> remember so worth clarifying.


Ah, I see - yeah, you'd need the extension to be a compile-time  
operation, not a parse-time operation.  I see.

-- 
Now and then an innocent man is sent to the legislature.
     --Kin Hubbard
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to