Issue #3391 has been updated by Markus Roberts. Status changed from Investigating to Needs design decision
I'm vacillating on what I think the correct behavior should be here; the results shown are arguably correct (what is the status of the exec? Not run) from one perspective but clearly not what you might expect if you were thinking of things from another. ---------------------------------------- Bug #3391: ralsh does not work with Exec type http://projects.puppetlabs.com/issues/3391 Author: Michael DeHaan Status: Needs design decision Priority: Normal Assigned to: Jesse Wolfe 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://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.
