On Mon, Apr 19, 2010 at 9:02 AM, Luke Kanies <[email protected]> wrote:

> On Apr 19, 2010, at 7:55 AM, Nigel Kersten wrote:
>
>  The import of ${pillar_track}/pillar_track.pp contains a variable
>> reference; variables are not interpolated for imports in file
>>
>> /var/lib/puppetmaster/environments/testaddons/addonmodules/pillar/manifests/init.pp
>> at line 10
>>
>>
>> Why is this?
>>
>
> Because imports are parse-time, not compile-time.  That is, they're
> evaluated as the file is read, rather than when a given host's configuration
> is compiled.
>
>
yeah, I just worked this out, so it's why you can't import a file that
defines a class *and* includes that same class.




-- 
nigel

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