The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
Import vs autoloading deprecation warning message
|Affected Puppet version:||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
I couldn’t find anything related other than a single ticket related to Telly  but I might have looked over it.
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:
import 'classes/*' import 'definitions/*'
It seems that a lot of people are not yet aware of the fact that this behavior is about to be deprecated in Telly.
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:
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.
#2 Updated by eric sorenson over 2 years ago
- 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.