Opened 5 years ago

Closed 5 years ago

#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):

http://codereview.adblockplus.org/5611225295618048

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.

Change History (3)

comment:1 Changed 5 years ago by trev

  • Owner set to trev

comment:2 Changed 5 years ago by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:3 Changed 5 years ago by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.