<div dir="ltr"><div><div>Hey,<br></div>Using spacecmd to run a script to a single system or based on systems in the SSM. <br><br><br>SSM attempt:<br><br>spacecmd {SSM:6}> system_runscript ssm<br>User [root]: <br>Group [root]: <br>
Timeout (in seconds) [600]: <br>Start Time [now]: <br>Script File [create]: <br><br>User:       root<br>Group:      root<br>Timeout:    600 seconds<br>Start Time: 20131212T16:06:24<br><br>Script Contents<br>---------------<br>
#!/bin/bash<br>echo "hello" > /tmp/hello.txt<br><br>Systems<br>-------<br><a href="http://balcouch1.website.com">balcouch1.website.com</a><br><a href="http://balcouch2.website.com">balcouch2.website.com</a><br>
<a href="http://balcouch3.website.com">balcouch3.website.com</a><br><a href="http://balpercona1.website.com">balpercona1.website.com</a><br><a href="http://balpercona2.website.com">balpercona2.website.com</a><br><a href="http://balpercona3.website.com">balpercona3.website.com</a><br>
<br>Is this ok [y/N]: y<br>ERROR: com.redhat.rhn.common.translation.TranslationException: Could not find translator for class redstone.xmlrpc.XmlRpcArray to class java.lang.Integer<br>spacecmd {SSM:6}><br><br><br><br></div>
Single Host attempt:<br><div><br>spacecmd {SSM:6}> system_runscript <a href="http://justin.website.com">justin.website.com</a><br>User [root]: <br>Group [root]: <br>Timeout (in seconds) [600]: <br>Start Time [now]: <br>
Script File [create]: <br><br>User:       root<br>Group:      root<br>Timeout:    600 seconds<br>Start Time: 20131212T16:09:44<br><br>Script Contents<br>---------------<br>#!/bin/bash<br>echo "hello" > /tmp/hello<br>
<br>Systems<br>-------<br><a href="http://justin.website.com">justin.website.com</a><br><br>Is this ok [y/N]: y<br>ERROR: com.redhat.rhn.common.translation.TranslationException: Could not find translator for class redstone.xmlrpc.XmlRpcArray to class java.lang.Integer<br>
<br></div></div>