git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/data/nodes
diff options
context:
space:
mode:
authormail_redacted_for_web 2017-12-15 12:52:14 -0600
committermail_redacted_for_web 2017-12-15 12:52:14 -0600
commite5189b5515ea376a7e9763d3ad70e66cf116f24c (patch)
tree7bee330cf13bbcbdcfcb135d23fec3e345b03e5a /data/nodes
parent09df4b4961da424319d5208740aebbc9009eaa7b (diff)
downloadcontrol-repo-template-e5189b5515ea376a7e9763d3ad70e66cf116f24c.tar.bz2
Show the short hostname, not the FQDN in config_version
This is mainly a style and readability change. Prior to this, on masters whose hostname is actually their FQDN, the config_version script would show the entire FQDN. On nodes with really longs FQDN's, it was not very nice to look at. This takes the hostname of the master, splits it on dots (.) and takes the first segment. Now this: compile-master-02.int.lab.dmz.company-name.net-production-48fd18ab Is this: compile-master-02-production-48fd18ab
Diffstat (limited to 'data/nodes')
0 files changed, 0 insertions, 0 deletions