Opened on 08/25/2014 at 02:37:50 PM
Closed on 09/03/2014 at 02:55:46 PM
#1267 closed change (fixed)
Provide a way to run some command on multiple hosts
Reported by: | trev | Assignee: | trev |
---|---|---|---|
Priority: | P4 | Milestone: | |
Module: | Infrastructure | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Platform: | Unknown | |
Ready: | yes | Confidential: | no |
Tester: | Verified working: | no | |
Review URL(s): |
Description
Background
Occasionally, we have to execute the same command on multiple servers - e.g. recently I wanted to check which Puppet version they are running. As our server park grows, doing this manually becomes impracticable. I've been using custom script solutions for that but a generic solution similar to kick.py would work better.
What to change
Create a run.py script that will run any command on selected hosts/groups, a generalized version of kick.py. The kick.py script should then be made to call into run.py to use its functionality.
Attachments (0)
Change History (3)
comment:1 Changed on 08/25/2014 at 02:43:19 PM by trev
- Owner set to trev
comment:2 Changed on 08/25/2014 at 02:43:32 PM by trev
- Review URL(s) modified (diff)
- Status changed from new to reviewing
comment:3 Changed on 09/03/2014 at 02:55:46 PM by trev
- Resolution set to fixed
- Status changed from reviewing to closed
Note: See
TracTickets for help on using
tickets.
Fixed: https://hg.adblockplus.org/infrastructure/rev/5f24bb63966a