puppetlabs / control-repo

A control repository template
Apache License 2.0
205 stars 511 forks source link

config_version: Show the compiling master's name #50

Closed natemccurdy closed 7 years ago

natemccurdy commented 7 years ago

Prior to this, the config_version script just showed the commit ID of the version of code being compiled. This commit includes the compiling Puppet master's hostname and environment name in the config_version. This is very useful for debugging when a Puppet master is failing and you have multiple masters behind a load balancer.

The output of config_version now looks like this:

info: Applying configuration version 'pupmaster01-production-ac9785273a10'

gabe-sky commented 7 years ago

Great idea! Plus one.