Issue #3391 has been updated by James Turnbull.

Assignee changed from Jesse Wolfe to Nigel Kersten


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

Author: Michael DeHaan
Status: Needs design decision
Priority: Normal
Assignee: Nigel Kersten
Category: ralsh
Target version: 
Affected Puppet 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:

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

Various attempts to qualify the path also do not help:

<pre>
mpdehaan@snowball:~/code/puppet-docs$ ralsh Exec "ls" path="/bin"
Could not run: 'ls' is both unqualifed and specified no search path
mpdehaan@snowball:~/code/puppet-docs$ ralsh Exec command="ls" path="/bin"
Could not run: 'command=ls' is both unqualifed and specified no search path
mpdehaan@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
mpdehaan@snowball:~/code/puppet-docs$ ralsh Exec command="/bin/ls"
Could not run: 'command=/bin/ls' is both unqualifed and specified no search path
mpdehaan@snowball:~/code/puppet-docs$ ralsh Exec command="ls"
Could not run: 'command=ls' is both unqualifed and specified no search path
mpdehaan@snowball:~/code/puppet-docs$ ralsh Exec "ls"
</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://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