Issue #14791 has been updated by Kelsey Hightower.

Status changed from Unreviewed to Needs Decision

So this seems to be an issue on the deprecated standalone PMT and should be 
fixed on that repo. My only question is, are we planning any new releases of 
the standalone PMT?
----------------------------------------
Bug #14791: `metadata` variable or method missing in module tool
https://projects.puppetlabs.com/issues/14791#change-64393

Author: Daniel Pittman
Status: Needs Decision
Priority: Normal
Assignee: 
Category: module tool
Target version: 
Affected Puppet version: 2.7.14
Keywords: 
Branch: 


This was found by rtyler in IRC, who has an objection to RedMine.

<pre>
-> % puppet-module generate rtyler-opengrok
=====================================================================================
Generating module at 
/home/tyler/source/github/puppetmodules/opengrok/rtyler-opengrok
-------------------------------------------------------------------------------------
rtyler-opengrok
(erb):1:in `contents': undefined local variable or method `metadata' for 
#<Puppet::Module::Tool::Applications::Generator::ParsedFileNode:0x00000004385618>
 (NameError)
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/erb.rb:753:in `eval'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/erb.rb:753:in `result'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/generator.rb:98:in
 `contents'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/generator.rb:101:in
 `block in install!'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/pathname.rb:829:in 
`open'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/pathname.rb:829:in 
`open'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/generator.rb:101:in
 `install!'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/generator.rb:34:in
 `block in run'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/pathname.rb:1002:in 
`block in find'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/find.rb:41:in `block 
in find'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/find.rb:40:in `catch'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/find.rb:40:in `find'
        from 
/home/tyler/.rvm/rubies/ruby-1.9.2-p290/lib64/ruby/1.9.1/pathname.rb:1002:in 
`find'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/generator.rb:28:in
 `run'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/applications/application.rb:10:in
 `run'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/lib/puppet/module/tool/cli.rb:29:in
 `generate'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor/task.rb:33:in
 `run'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor/invocation.rb:109:in
 `block in invoke'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor/invocation.rb:116:in
 `call'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor/invocation.rb:116:in
 `invoke'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor.rb:137:in
 `block in start'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor/base.rb:378:in
 `start'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/vendor/thor-852190ae/lib/thor.rb:124:in
 `start'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/gems/puppet-module-0.3.4/bin/puppet-module:7:in
 `<top (required)>'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/bin/puppet-module:19:in `load'
        from 
/home/tyler/.rvm/gems/ruby-1.9.2-p290@opengrok/bin/puppet-module:19:in `<main>'
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to