Now this may be related to 3.6.x but I cannot say for sure. A couple of facts we use are now throwing some errors.First is:-Could not retrieve fact='concat_basedir', resolution='<anonymous>': uninitialized constant PuppetWhich comes from:-Facter.add("concat_basedir") dosetcode doFile.join(Puppet[:vardir],"concat")endendThe second is:-Error converting value for param 'config': Could not find value for $confdirWhich comes from this extract:-if Puppet.version.to_i >= 3Puppet.settings.initialize_global_settings(Puppet[:config]) unless Puppet.settings.global_defaults_initialized?elsePuppet.parse_configendIf I set it with:-Puppet.settings.initialize_global_settings(["--config=/etc/puppet/puppet.conf"])
+1 - let's file a bug report.
On Fri, May 23, 2014 at 2:58 AM, Paul Seymour <paul.s...@ig.com> wrote:
+1 - let's file a bug report.For more context here, puppet has a 'deprecation_warning' method which is used for this new message and also in a number of other places. In puppet 3.7, we're planning to introduce a number of additional deprecation messages (for functionality which will be removed in puppet 4)
So there are at least two possibilities here:1) Make all deprecation messages Info-level rather than Warning-level. So you'd need to specify --verbose to see the deprecation messages.
2) Leave the deprecation messages at Warning-level, but add a 'warn-on-deprecation' setting (possibly with a better name).
--In either case, you'd need to flip a setting to see the deprecation messages (whereas they are in your face today).The downside to (1) is that the deprecation messages would be mixed in with other Info messages that might not be of interest to the person planning their migration to puppet 4.The downside to (2) is it's Yet Another Setting and as such it might not be used as much (i.e. puppet 4 might take more people by surprise).Thoughts?Kylo
--To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFEb9%3DF4vXxc9O6E%3D_agzjuNi_sOgx0P2W-y1C0xA1KHXA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
Join us at PuppetConf 2014, September 23-24 in San Francisco
On Fri, May 23, 2014 at 12:00 PM, Kylo Ginsberg <ky...@puppetlabs.com> wrote:
On Fri, May 23, 2014 at 2:58 AM, Paul Seymour <paul.s...@ig.com> wrote:
+1 - let's file a bug report.For more context here, puppet has a 'deprecation_warning' method which is used for this new message and also in a number of other places. In puppet 3.7, we're planning to introduce a number of additional deprecation messages (for functionality which will be removed in puppet 4)
So there are at least two possibilities here:1) Make all deprecation messages Info-level rather than Warning-level. So you'd need to specify --verbose to see the deprecation messages.
2) Leave the deprecation messages at Warning-level, but add a 'warn-on-deprecation' setting (possibly with a better name).How about an ignore-deprecation-warnings setting? This way it's more in your face at start but once you are familiar with the things going away you might want to turn it off? It doesn't seem like there is an optimal way of introducing deprecation warnings without some level of surprise.
The ability to turn off the deprecation messages would be great. The only things these messages provide are a drain on logging resources, noise in the logs, and confusion from end users.
On Tue, May 27, 2014 at 7:16 AM, Chuck <css...@gmail.com> wrote:
The ability to turn off the deprecation messages would be great. The only things these messages provide are a drain on logging resources, noise in the logs, and confusion from end users.Seems like we have consensus on an ignore-deprecation-warnings setting, which defaults to false.
And I like Felix's suggestion that the (as yet unwritten) puppet-4 migration guide will recommend restoring that default.
Kylo--
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFFXRiQX4wDc5TjoZWXAz-q7-kdO%2Bx%2B6%3DpdsdvN4HKYFvw%40mail.gmail.com.
On Tue, May 27, 2014 at 11:33 AM, Kylo Ginsberg <ky...@puppetlabs.com> wrote:
On Tue, May 27, 2014 at 7:16 AM, Chuck <css...@gmail.com> wrote:
The ability to turn off the deprecation messages would be great. The only things these messages provide are a drain on logging resources, noise in the logs, and confusion from end users.Seems like we have consensus on an ignore-deprecation-warnings setting, which defaults to false.I think a 'deprecation-level' setting might be more in keeping with logging. It defaults to warn, but can be turned down to debug if you don't want to normally see them.
I think a 'deprecation-level' setting might be more in keeping with logging. It defaults to warn, but can be turned down to debug if you don't want to normally see them.This seems like it might cause some confusion if users are grepping their logs and not sure if the deprecations are warning/info/debug? I'm more familiar with the model of enabling/disabling a class of warnings (a la gcc or linters, etc).But I have no strong feelings here other than wanting to get this addressed in 3.6.2. Anyone else care to weigh in?
On Wed, May 28, 2014 at 1:53 PM, Andy Parker <an...@puppetlabs.com> wrote:
On Tue, May 27, 2014 at 11:33 AM, Kylo Ginsberg <ky...@puppetlabs.com> wrote:
On Tue, May 27, 2014 at 7:16 AM, Chuck <css...@gmail.com> wrote:
The ability to turn off the deprecation messages would be great. The only things these messages provide are a drain on logging resources, noise in the logs, and confusion from end users.Seems like we have consensus on an ignore-deprecation-warnings setting, which defaults to false.I think a 'deprecation-level' setting might be more in keeping with logging. It defaults to warn, but can be turned down to debug if you don't want to normally see them.This seems like it might cause some confusion if users are grepping their logs and not sure if the deprecations are warning/info/debug? I'm more familiar with the model of enabling/disabling a class of warnings (a la gcc or linters, etc).
But I have no strong feelings here other than wanting to get this addressed in 3.6.2. Anyone else care to weigh in?--
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFHyt4UvcNKk0W5L1eZnN2h_qVT3UEF_muQPNz4xyH%2B3hw%40mail.gmail.com.