Issue #13675 has been updated by eric sorenson.

Status changed from Unreviewed to Accepted
Target version set to 3.0.0
Keywords changed from import
autoloading
deprecated
warning
 to import
autoloading
telly_deprecation
warning


This dropped off my list but yes, should be added for deprecation warnings in 
Telly.
----------------------------------------
Feature #13675: Import vs autoloading deprecation warning message
https://projects.puppetlabs.com/issues/13675#change-68878

Author: Tom De Vylder
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 3.0.0
Affected Puppet version: 
Keywords: import
autoloading
telly_deprecation
warning

Branch: 


I couldn't find anything related other than a single ticket related to Telly 
[1] but I might have looked over it.<br>
Anyways it should be documented in more clear and visible way that import 
should not be used for modules.

I'm still running into customers who still use the following old-fashioned 
init.pp:

<pre>
import 'classes/*'
import 'definitions/*'
</pre>

It seems that a lot of people are not yet aware of the fact that this behavior 
is about to be deprecated in Telly.<br>
Personally I think people should be warned upfront in the same way as with 
dynamic look-up deprecation.

Inspired by the dynamic lookup warning message perhaps something along the 
lines of:

<pre>
warning: import classes is deprecated. Support will be removed in Puppet 2.8. 
Use autoloading instead.
Please visit http://doc.puppetlabs.com/autoloading for more information.
</pre>


[1] https://projects.puppetlabs.com/issues/12929



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