Issue #4125 has been updated by Dan Bode.

Priority changed from Normal to Immediate


----------------------------------------
Bug #4125: ralsh cannot update/create resources
http://projects.puppetlabs.com/issues/4125

Author: Dan Bode
Status: Unreviewed
Priority: Immediate
Assigned to: 
Category: 
Target version: 
Affected version: 2.6alpha1
Keywords: 
Branch: 


ralsh can only query resources, it cannot modify them:

<pre>
$ ralsh user foo ensure=present
/opt/local/lib/ruby/site_ruby/1.8/puppet/resource.rb:158:in `send': undefined 
method `ensure=' for #<Puppet::Resource:0x102d810f0 @parameters={}, 
@namespaces=[""]> (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
</pre>

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


-- 
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