Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception with PE 3.0 #231

Closed
VMTrooper opened this issue Oct 15, 2013 · 1 comment
Closed

Exception with PE 3.0 #231

VMTrooper opened this issue Oct 15, 2013 · 1 comment

Comments

@VMTrooper
Copy link

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)

The site.pp file is very basic. I uploaded it as a gist: https://gist.github.com/VMTrooper/6987872

@rodjek
Copy link
Owner

rodjek commented Jan 5, 2014

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.

@rodjek rodjek added the bug label Mar 4, 2014
@rodjek rodjek closed this as completed Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants