Issue #20166 has been updated by Rémy Garrigue.

File init.pp added

I got the same errors messages with the same puppet version, but it's not about 
verbose. I think it started when I added some templates looking up for class 
parameters, more specificaly asap I added the first class parameter.

Here is the error messages:
  [root@localhost vagrant]# puppet apply /vagrant/manifests/load_balancer.pp 
--modulepath=/vagrant/modules
  Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
  WARN: Thu Aug 01 13:23:54 +0000 2013: Not using Hiera::Puppet_logger. It does 
not report itself to be suitable.
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Hiera YAML backend starting
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Looking up sib::main_url in YAML 
backend
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Looking for data source common
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Cannot find datafile 
/var/lib/hiera/common.yaml, skipping
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Looking up sib::test_dir in YAML 
backend
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Looking for data source common
  DEBUG: Thu Aug 01 13:23:54 +0000 2013: Cannot find datafile 
/var/lib/hiera/common.yaml, skipping
  Notice: Finished catalog run in 1.38 seconds

Here is my arborescence
  /vagrant
  ├── manifests
  │   ├── load_balancer.pp
  │   ├── load_balancer_worker.pp
  │   ├── nodes.pp
  │   └── site.pp
  ├── modules
  │   └── sib
  │       ├── files
  │       │   ├── htppd_worker.conf
  │       │   ├── httpd_lb.conf
  │       │   ├── php.ini
  │       │   └── test_ip.php
  │       ├── manifests
  │       │   └── init.pp
  │       ├── templates
  │       │   └── test_load_balancing.php.erb
  │       └── tests  
  └── Vagrantfile.txt

Please find attached the only relevant file, init.pp. Otherwise, it's 
- load_balancer.pp = include sib::load_balancer
- test_load_balancing.php.erb include $url = "http://<%= 
scope.lookupvar('sib::main_url') %>/test_ip.php";

I think that's it. For a bit of context I'm testing some apache load balancing 
with 3 vagrant boxe using this base box: 
http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box

EDIT: I got rid of it removing class sib parameters, and reference to it.

----------------------------------------
Bug #20166: `--verbose` is broken, and include debug level log messages
https://projects.puppetlabs.com/issues/20166#change-95843

* Author: Daniel Pittman
* Status: Re-opened
* Priority: Normal
* Assignee: Charlie Sharpsteen
* 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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to