Issue #2881 has been updated by Markus Roberts.

Status changed from Needs more information to Investigating
Assigned to deleted (Dan Bode)
Target version set to Puppet - 0.25.2

On my mac the command:

     ralsh host x ensure=present ip=127.0.0.3

Produces the error 

    err: Got an uncaught exception of type NoMethodError: undefined method 
`join' for nil:NilClass

from 0.25.1 to commit:"854c06502d1a8f6d6dfaf0abeaacb4791a6fb5ed" (alias propety 
v. alias metapram, changed the alias property to host_alias) and since then (to 
0.25.x head):

    err: /Host[x]: Failed to retrieve current state of resource: Invalid @is 
type NilClass
    Could not run: Invalid @is type NilClass

On all of the 0.25 line:

    ralsh host x

reports:

    host { 'x':
        ensure => 'absent'
    }

even though /etc/hosts contains the line:

    127.0.0.3   x

----------------------------------------
Bug #2881: ralsh does not correctly read hosts
http://projects.reductivelabs.com/issues/2881

Author: Dan Bode
Status: Investigating
Priority: Normal
Assigned to: 
Category: ralsh
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: 


<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