Provide `shell` command to ease connections to complex scenarii

Authored by dereckson on Thu, Mar 8, 22:44.



For example, it allows to call a Docker container execution command
on a remote server through an interactive SSH connection:

shell devcentral = ssh -t docker exec -it bash
shell devcentral foo = ssh -t docker exec -it foo

Test Plan

Python development

Checked with flake8 and autopep8.

Deployment test procedure

  • salt-call --local state.apply roles/devserver/userland-software/misc
  • shell devcentral

Diff Detail

rOPS Nasqueron Operations
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
dereckson requested review of this revision.Thu, Mar 8, 22:44
dereckson created this revision.
dereckson accepted this revision.Thu, Mar 8, 22:45
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Mar 8, 22:46
dereckson updated this revision to Diff 3573.Thu, Mar 8, 23:07


This revision was automatically updated to reflect the committed changes.