Created
May 20, 2019 09:57
-
-
Save nehrman/bf1cee25df8e17d994957bd762986cc9 to your computer and use it in GitHub Desktop.
description
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[snippets]] | |
description = "Consul - List all known datacenters from the catalog" | |
command = "consul catalog datacenters" | |
tag = ["consul"] | |
output = "dc1\n" | |
[[snippets]] | |
description = "Consul - List all known members of a Consul Cluster" | |
command = "consul members" | |
tag = ["consul"] | |
output = "Node Address Status Type Build Protocol DC Segment\nraspnomad01 192.168.1.60:8301 alive server 1.4.2+ent 2 dc1 <all>\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment