Changes between Version 1 and Version 2 of hct
- Timestamp:
- Dec 28, 2012, 5:43:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
hct
v1 v2 24 24 `trouble` is a helper script that helps you edit a message based on existing templates, gpg sign the message, commit and push the message. 25 25 26 Usage: 26 You can checkout a copy of trouble via git: git://git.mayfirst.org/mfpl/trouble 27 27 28 The `message` subcommand helps you create a service-advisory. 28 For usage, run trouble with no arguments: 29 29 30 30 31 {{{ 31 trouble message [--template <template-name>] [--search <server-search-string>] 32 trouble message --resume 32 0 jamie@animal:~$ trouble 33 usage 34 trouble <subcmd> <options> 35 trouble message [--template <template-name>] [--search <server-search-string>] 36 trouble message [--queue] 37 38 Subcommands 39 message - create a trouble message 40 dns - manipulate DNS records to redirect DNS queries from servers that may be down 41 42 Options 43 --template - specify the name of a pre-existing dual language template 44 --search - if freepupet helper is in your PATH, this string will be passed to freepuppet-helper 45 ls:<server-search-string>, and the Servers Affected line in the service advisory will be 46 pre-populated with the results 47 --resume - resume message that has been saved in the queue (for approval or translation) 48 49 Enviornment Variables 50 TROUBLE_MESSAGES_PATH - the page to the service-advisories git repository. If undefined 51 it is set to the current working directory. 52 Unknown or empty subcmd. 53 0 jamie@animal:~$ 33 54 }}} 34 55 35 * --template - specify the name of a pre-existing dual language templates36 * --search - if freepupet helper is in your $PATH, this string will be passed to freepuppet-helper ls:<server-search-string>, and the Servers Affected line in the service advisory will be pre-populated with the results37 * --resume - resume an queued message38 56 39 The `dns` subcommand helps you manipulate DNS records commonly needed during an outage. It can either manipulate them via the red API (if Telehouse is available) or manipulate them directly on jobjoe (our secondary DNS server) if the red API is not available.40 41 trouble dns [--disable-mail-relay <gil|paulo>] [--redirect-mayfirst-website]42 43 * --disable-mail-relay - disable the DNS record for the specified mail relay server44 * --redirect-mayfirst-website - replace the DNS record for {www.,}mayfirst.org to point to jojobe, where it redirects to support.mayfirst.org45 46