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

unknown method info with Puppet 4 #51

Closed
deric opened this issue Mar 12, 2016 · 3 comments
Closed

unknown method info with Puppet 4 #51

deric opened this issue Mar 12, 2016 · 3 comments

Comments

@deric
Copy link

deric commented Mar 12, 2016

I'm getting following error with Puppet 4, PUPPET_VERSION="~> 4.0" STRICT_VARIABLES=yes rake syntax:manifests --trace

** Invoke syntax (first_time)
** Invoke syntax:check_puppetlabs_spec_helper (first_time)
** Execute syntax:check_puppetlabs_spec_helper
** Invoke syntax:manifests (first_time)
** Execute syntax:manifests
rake aborted!
NoMethodError: undefined method `info' for #<PuppetSyntax::RakeTask:0x007f96b9d29db0>
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/puppet-syntax-2.1.0/lib/puppet-syntax/tasks/puppet-syntax.rb:34:in `block (2 levels) in initialize'
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rake-11.1.0/lib/rake/task.rb:246:in `call'
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rake-11.1.0/lib/rake/task.rb:246:in `block in execute'
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rake-11.1.0/lib/rake/task.rb:243:in `each'
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rake-11.1.0/lib/rake/task.rb:243:in `execute'
/home/deric/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/rake-11.1.0/lib/rake/task.rb:187:in `block in invoke_with_call_chain'
@deanwilson
Copy link
Contributor

Hi @deric thanks to pull request #50 from @mmckinst this should no longer be a problem in newer installs of puppet-syntax.

Thank you for raising the issue.

@bastelfreak
Copy link
Member

Hi,
could you please do a new release so we can use the bugfix?

bastelfreak added a commit to bastelfreak/puppet-zabbix that referenced this issue Apr 12, 2016
there is a bug that prevents the last release from working with
new ruby + future parser. Thats fixed but currently not released :(
voxpupuli/puppet-syntax#51
jordanconway added a commit to jordanconway/puppet-rdiff_backup that referenced this issue Jun 28, 2016
there is a bug that prevents the last release from working with
new ruby + future parser. Thats fixed but currently not released :(
voxpupuli/puppet-syntax#51
@alexmuller
Copy link
Contributor

@bastelfreak: I'm so sorry it took us such a long time, but we've just released 2.1.1 which includes a fix for this.

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

4 participants