Luke Kanies wrote:
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.
Related: I do find it a bit confusing that you can write imports
anywhere in the manifests, like inside classes or inside if or
case statements, yet they are *always* executed. Would it be
possible to forbid imports at any other place than "top-level"
in a manifest file?
/Bellman
--
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.