Opened 15 years ago

Closed 14 years ago

#104 closed enhancement (invalid)

Improve for-each-server script

Reported by: mitchb Owned by: geofft
Priority: tiny Milestone:
Component: misc Keywords:
Cc:

Description

See RT ticket 960054

The attached script was contributed by Pete Kruskall (tek)

Attachments (1)

exec.py (849 bytes) - added by mitchb 15 years ago.
Pete Kruskall's exec.py script

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by mitchb

Pete Kruskall's exec.py script

comment:1 Changed 14 years ago by adehnert

Is this actually better than the for-each-server currently in the locker? Glancing briefly at exec.py, it looks like it:

  • Improperly handles quoting (or, perhaps, "more improperly", given that I gather that ssh will screw up the quoting anyway)
  • Improperly sets a username if the command you run on the server includes a -u argument (like, say, pgrep or pkill)

I'm not sure that there's actually anything in that script we want to use.

comment:2 Changed 14 years ago by adehnert

  • Resolution set to invalid
  • sensitive set to 0
  • Status changed from new to closed

ETIMEOUT

"Improve for-each-server" isn't really an actionable ticket, and zephyr, Trac, and RT appear not to have disputed my claim that "there's [not] actually anything in that script we want to use".

Note: See TracTickets for help on using tickets.