Issue #20166 has been updated by Charlie Sharpsteen. Status changed from Investigating to Needs More Information Assignee changed from Charlie Sharpsteen to Daniel Pittman
This looks like the problem: <pre> WARN: Tue Apr 09 17:25:17 -0700 2013: Not using Hiera::Puppet_logger. It does not report itself to be suitable. </pre> `Hiera::Puppet_logger.suitable?` is returning false for some reason, which is causing Hiera to fall back to `Hiera::Console_logger` which is unaffected by the `--verbose` flag passed to `puppet apply`. The [code that is failing](https://github.com/puppetlabs/hiera/blob/1.2.1/lib/hiera/puppet_logger.rb#L4-L6): <pre> def suitable? defined?(::Puppet) == "constant" end </pre> Is there anything about your environment that would cause the Puppet to not be defined in the top scope? ---------------------------------------- Bug #20166: `--verbose` is broken, and include debug level log messages https://projects.puppetlabs.com/issues/20166#change-90495 * Author: Daniel Pittman * Status: Needs More Information * Priority: Normal * Assignee: Daniel Pittman * Category: logging * Target version: * Affected Puppet version: 3.1.1 * Keywords: * Branch: ---------------------------------------- <pre> root@ubuntu-1204-64:/opt# puppet apply --verbose --modulepath /etc/puppet/modules -e 'include razor' [...] Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults WARN: Tue Apr 09 17:25:17 -0700 2013: Not using Hiera::Puppet_logger. It does not report itself to be suitable. DEBUG: Tue Apr 09 17:25:17 -0700 2013: Hiera YAML backend starting DEBUG: Tue Apr 09 17:25:17 -0700 2013: Looking up razor::address in YAML backend DEBUG: Tue Apr 09 17:25:17 -0700 2013: Looking for data source common DEBUG: Tue Apr 09 17:25:17 -0700 2013: Cannot find datafile /var/lib/hiera/common.yaml, skipping DEBUG: Tue Apr 09 17:25:17 -0700 2013: Looking up razor::directory in YAML backend </pre> It looks like `--verbose` got broken, since it now includes a shedload of DEBUG level log messages. Those should be correctly relegated to the `--debug` option. This is with <pre> root@ubuntu-1204-64:/opt# puppet --version 3.1.1 </pre> -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
