Bug #4637

run pi exec resource display some problems

Added by joy huang over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:08/27/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.6.1
Affected Puppet version:2.6.1rc1 Branch:http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4637
Keywords:
Votes: 0

Description

(1)puppet master release:puppet-2.6.1rc2

(2)puppet client release:puppet—0.25.5

on puppet master run pi exec is not normal ,but on puppet client is normal why? on master when i run pi exec resource it display below info

[joy@ctc92 puppet]# pi exec

/usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:133:in `format_attrs': undefined method `namevar' for Puppet::Type::Exec:Class (NoMethodError)
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:129:in `each'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:129:in `format_attrs'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:97:in `format_type'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `main'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `each'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.rb:193:in `main'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:308:in `run_command'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail'
        from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
        from /usr/bin/pi:5

waiting for your reply mymail is :wtoppp@hotmail.com

thanks joy


Related issues

duplicated by Puppet - Bug #4393: /usr/lib/ruby/site_ruby/1.8/puppet/application/describe.r... Duplicate 07/29/2010

History

Updated by Markus Roberts over 1 year ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Affected Puppet version set to 2.6.1rc1
  • Branch set to http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4637

A use of namevar apparently slipped through the net or got (re)introduced in a merge/conflict resolution.

Updated by R.I. Pienaar over 1 year ago

This didn’t seem to make it into rc4

Updated by R.I. Pienaar over 1 year ago

I applied the patch to 2.6.1rc4 and it works fine

Updated by James Turnbull over 1 year ago

  • Status changed from In Topic Branch Pending Review to Closed
  • Target version set to 2.6.1

Pushed in commit:bd973a2eeb9cc161553b47974b3e88c3343e4ce3

Also available in: Atom PDF