Issue #2881 has been updated by James Turnbull.

Status changed from Ready for Checkin to Tests Insufficient

Some broken tests:

<pre>
1)
RuntimeError in 'ralsh when running with a host should connect to it'
Invalid parameter setting -O
./spec/unit/application/ralsh.rb:173:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

2)
RuntimeError in 'ralsh when running with a host should retrieve all the 
instances if there is no name'
Invalid parameter setting -O
./spec/unit/application/ralsh.rb:185:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

3)
RuntimeError in 'ralsh when running with a host should describe the given 
resource'
Invalid parameter setting -O
./spec/unit/application/ralsh.rb:193:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

4)
RuntimeError in 'ralsh when running without a host should retrieve all the 
instances if there is no name'
Invalid parameter setting -O
./spec/unit/application/ralsh.rb:206:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

5)
RuntimeError in 'ralsh when running without a host but with a given name should 
retrieve a specific instance'
Invalid parameter setting -O
./spec/unit/application/ralsh.rb:222:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

6)
NoMethodError in 'ralsh when running without a host but with a given name 
should add given parameters to object'
undefined method `find' for nil:NilClass
./spec/unit/application/ralsh.rb:231:
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'

Finished in 0.397298 seconds
</pre>
----------------------------------------
Bug #2881: ralsh does not correctly read hosts
http://projects.reductivelabs.com/issues/2881

Author: Dan Bode
Status: Tests Insufficient
Priority: Normal
Assigned to: Markus Roberts
Category: ralsh
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2881


<pre>
[r...@localhost ~]# ralsh host x ensure=present ip=127.0.0.3
notice: /Host[x]/ensure: created
host { 'x':
    ensure => 'present',
    ip => '127.0.0.3',
    target => '/etc/hosts'
}

# even though I created the host, realsh cannot see it

[r...@localhost ~]# ralsh host x
host { 'x':
    ensure => 'absent'
}
</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://reductivelabs.com/redmine/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