Issue #3641 has been updated by Nigel Kersten.

Priority changed from Low to High
Target version set to Telly

We absolutely want to get this in for Telly, and ideally we want to be able to 
deprecate 'import' for Telly as well
----------------------------------------
Feature #3641: "Import" statements should not be allowed inside of other 
control structures.
https://projects.puppetlabs.com/issues/3641

Author: Jesse Wolfe
Status: Accepted
Priority: High
Assignee: 
Category: parser
Target version: Telly
Affected Puppet version: 0.25.5
Keywords: 
Branch: 


Thomas Bellman writes (on 2010-04-20):

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?



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

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

Reply via email to