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
Here is my output from trying to run puppet-lint against my site.pp:
[root@learn manifests]# puppet-lint site.pp --error-level all
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/lexer.rb:239:in `rindex': wrong number of arguments (0 for 1) (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/lexer.rb:239:in `new_token'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/lexer.rb:125:in `tokenise'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/lexer.rb:119:in `each'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/lexer.rb:119:in `tokenise'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/plugin.rb:40:in `load_data'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/plugin.rb:54:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint.rb:155:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/bin.rb:110:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/bin.rb:107:in `each'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/../lib/puppet-lint/bin.rb:107:in `run'
from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.3.2/bin/puppet-lint:7
from /usr/bin/puppet-lint:19:in `load'
from /usr/bin/puppet-lint:19
[root@learn manifests]# puppet --version
3.2.4 (Puppet Enterprise 3.0.1-rc0-35-g3435b04)
I'm unable to reproduce this problem locally, could you tar up the file and put it somewhere I can download? I'm thinking the process of copy and pasting it into the gist has changed whatever character is causing this.
Here is my output from trying to run puppet-lint against my site.pp:
The site.pp file is very basic. I uploaded it as a gist: https://gist.github.com/VMTrooper/6987872
The text was updated successfully, but these errors were encountered: