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
dan@dan-MBP ~/projects/vagrant/civitas/puppet $ puppet-lint test.pp
/home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugins/check_classes.rb:76:in `lint_check_class_inherits_from_params_class': undefined method `value'for nil:NilClass (NoMethodError) from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugins/check_classes.rb:71:in `each' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugins/check_classes.rb:71:in `lint_check_class_inherits_from_params_class'
from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugin.rb:49:in `send' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugin.rb:49:in `run' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugin.rb:47:in `each' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/plugin.rb:47:in `run'
from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint.rb:155:in `run' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/bin.rb:106:in `run' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/bin.rb:103:in `each' from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/../lib/puppet-lint/bin.rb:103:in `run'
from /home/dan/projects/vagrant/civitas/puppet/vendor/gems/puppet-lint-0.3.0/bin/puppet-lint:7
from /home/dan/projects/vagrant/civitas/puppet/vendor/bin/puppet-lint:19:in `load' from /home/dan/projects/vagrant/civitas/puppet/vendor/bin/puppet-lint:19
Some different combinations of comments at the top of the class file prevent this from happening.
The text was updated successfully, but these errors were encountered:
vStone
added a commit
to vStone/puppet-lint
that referenced
this issue
Sep 26, 2012
The following simple class:
Raises this error with 0.3.0:
Some different combinations of comments at the top of the class file prevent this from happening.
The text was updated successfully, but these errors were encountered: