Bug #4125

ralsh cannot update/create resources

Added by Dan Bode almost 2 years ago. Updated almost 2 years ago.

Status:Duplicate Start date:07/02/2010
Priority:Immediate Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.6.0
Affected Puppet version:2.6alpha1 Branch:
Keywords:
Votes: 0

Description

ralsh can only query resources, it cannot modify them:

$ ralsh user foo ensure=present
/opt/local/lib/ruby/site_ruby/1.8/puppet/resource.rb:158:in `send': undefined method `ensure=' for # (NoMethodError)
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/resource.rb:158:in `initialize'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/resource.rb:156:in `each'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/resource.rb:156:in `initialize'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:86:in `new'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application/resource.rb:86:in `main'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run_command'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application.rb:292:in `run'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application.rb:390:in `exit_on_fail'
    from /opt/local/lib/ruby/site_ruby/1.8/puppet/application.rb:292:in `run'
    from /opt/local/bin/ralsh:90

I see consistent errors when trying to create all kinds of resources.


Related issues

related to Puppet - Bug #4059: NoMethodError: undefined method `join' for nil:NilClass Closed 06/22/2010

History

Updated by Dan Bode almost 2 years ago

  • Priority changed from Normal to Immediate

Updated by Jesse Wolfe almost 2 years ago

  • Status changed from Unreviewed to Duplicate
  • Target version set to 2.6.0

Also available in: Atom PDF