ensemble ssh should passthrough args to ssh
Bug #812441 reported by
Mark Mims
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Wishlist
|
Jim Baker |
Bug Description
trying to do stuff like:
for i in {1..10}
do
ensemble ssh nfs-client/$i 'cat /opt/storage/
done
but can't pass args in to ssh
Related branches
lp://staging/~jimbaker/pyjuju/ssh-passthrough
- Kapil Thangavelu (community): Approve
- William Reade (community): Approve
-
Diff: 393 lines (+219/-17)6 files modifiedjuju/control/__init__.py (+20/-4)
juju/control/command.py (+2/-1)
juju/control/ssh.py (+32/-9)
juju/control/tests/test_ssh.py (+64/-2)
juju/control/tests/test_utils.py (+48/-1)
juju/control/utils.py (+53/-0)
Changed in juju: | |
milestone: | none → florence |
Changed in juju: | |
assignee: | nobody → Jim Baker (jimbaker) |
Changed in juju: | |
status: | Confirmed → In Progress |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Agree 100% .. HOWEVER, ssh in a for loop is bad.. what we really need is an arbitrary hook capability.