git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/scripts/config_version.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use the puppet-agent ruby in config_version.rbNate McCurdy 2017-12-151-1/+1
| | | | | | | | Prior to this, the config_version.rb script (used for r10k) attempted to use the system ruby to parse the script. This caused problems on Puppet masters that don't have `ruby` in PATH. This fixes that by hardcoding the puppet-agent's ruby in the shebang.
* config_version: Show the compiling master's nameNate McCurdy 2017-07-051-10/+10
| | | | | | | | | | | | 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: pupmaster01-production-ac9785273a10
* Add ruby shebang to config_version scriptsNick Walker 2016-11-221-0/+1
| | | | | | | | | | | | | Prior to this commit, if you used windows bash git when you clone down the repo these files would get incorrect permissions which make them unexecutable. After this commit, due to some windows bash git magic I don't understand it appears that adding the shebang to the beginning of the file causes windows bash git to change the permissions to so the file is executable. This resolves https://github.com/puppetlabs/control-repo/issues/40
* Check for rugged or output UNIX epochRanjit Viswakumar 2015-11-201-11/+17
|
* Update file permsissions to be 755 on scriptsNick Walker 2015-08-311-1/+1
|
* pulling some stuff from npwalker/control-repoNick Walker 2015-08-251-0/+17