Issue #3391 has been reported by Michael DeHaan.

----------------------------------------
Bug #3391: ralsh does not work with Exec type
http://projects.reductivelabs.com/issues/3391

Author: Michael DeHaan
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: ralsh
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


With Jesse's recent patch to enable "--host" in ralsh (and some logic taken 
from Puppetrun, or even scripted at a higher level above ralsh), 
we're quickly on our way to being able to use Puppet to dispatch those commands 
where people would ordinarily use Func.

However, the following does not appear to work:

mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec "/bin/ls"
exec { '/bin/ls':
    returns => 'notrun'
}

Various attempts to qualify the path also do not help:

mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec "ls" path="/bin"
Could not run: 'ls' is both unqualifed and specified no search path
mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec command="ls" path="/bin"
Could not run: 'command=ls' is both unqualifed and specified no search path
mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec command="/bin/ls" path="/bin"
Could not run: 'command=/bin/ls' is both unqualifed and specified no search path
mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec command="/bin/ls"
Could not run: 'command=/bin/ls' is both unqualifed and specified no search path
mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec command="ls"
Could not run: 'command=ls' is both unqualifed and specified no search path
mpdeh...@snowball:~/code/puppet-docs$ ralsh Exec "ls"





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