I have some code that's doing module searching in the module path:
example = Puppet::Module.find('example', Puppet[:environment].to_s)
raise(LoadError, "Unable to find example module in modulepath
#{Puppet[:modulepath]}") unless example
In Puppet 3.6, the second line is triggering a the following warning:
Warning: Accessing 'modulepath' as a setting is deprecated. See
http://links.puppetlabs.com/env-settings-deprecations
I was able to trace the changes to PUP-2650, but it's not really clear
where the setting is stored now. What's the correct way to access the
modulepath configuration in 3.6?
Thanks,
Nan
--
You received this message because you are subscribed to the Google Groups "Puppet
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/54089B49.40304%40gmail.com.
For more options, visit https://groups.google.com/d/optout.