Provide `shell` command to ease connections to complex scenarii
ClosedPublic

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

Details

Summary

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

shell devcentral = ssh -t dwellers.nasqueron.org docker exec -it bash
shell devcentral foo = ssh -t dwellers.nasqueron.org 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

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

Comment

This revision was automatically updated to reflect the committed changes.