You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:124:in `block (2 levels) in check': undefined method `each' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in `each'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in `each_with_index'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:111:in `block in check'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in `each'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/plugins/check_whitespace.rb:95:in `check'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/checkplugin.rb:21:in `run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/checks.rb:58:in `block in run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/checks.rb:56:in `each'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/checks.rb:56:in `run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint.rb:168:in `run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/bin.rb:59:in `block in run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/bin.rb:56:in `each'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/lib/puppet-lint/bin.rb:56:in `run'
from /var/lib/gems/1.9.1/gems/puppet-lint-1.0.0/bin/puppet-lint:7:in `<top (required)>'
from /usr/local/bin/puppet-lint:23:in `load'
from /usr/local/bin/puppet-lint:23:in `<main>'
puppet code example:
# this Class installs percona serverclasssite_example::role::role_percona {
User::Managed <| tag == mysql |>
class{ 'site_example::apt::percona_aptrepo': }
class {'mysql':
root_password => 'supersecurepasshere', ## wird abgelegt in /root/.my.cnfpackage => 'percona-server-server-5.6',
service_autorestart => false,
#template => 'site_example/mysqld/example-my.cnf.erb',#my_class => 'site_example::mysqld::preinstall',require => [ User[mysql], Apt::Source['percona_aptrepo'] ],
options => {
#'innodb_log_files_in_group' => '10', ## comment
}
}
}
The text was updated successfully, but these errors were encountered:
It's not related to the resource collector, it seems to be triggered by a resource with more than 1 parameter where one of the parameters is an empty hash.
Fixed in #302. I've heard of one other bug in 1.0.0 that i'm waiting for more details on. Once that's in and fixed i'll release 1.0.1 with this fix included.
Trace:
puppet code example:
The text was updated successfully, but these errors were encountered: