<feed xmlns='http://www.w3.org/2005/Atom'>
<title>control-repo-template/scripts, branch 1.1.0</title>
<subtitle>puppetlabs/control-repo extended with not-so-core stuff</subtitle>
<id>https://git.pfeiffer.tech/control-repo-template/atom?h=1.1.0</id>
<link rel='self' href='https://git.pfeiffer.tech/control-repo-template/atom?h=1.1.0'/>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/'/>
<updated>2018-05-08T17:46:30Z</updated>
<entry>
<title>Resolve Rubocop warnings</title>
<updated>2018-05-08T17:46:30Z</updated>
<author>
<name>Nate McCurdy</name>
<email>nate.mccurdy@puppet.com</email>
</author>
<published>2018-05-08T17:37:30Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=36a278427582e6629141eb8539f658cf1604a528'/>
<id>urn:sha1:36a278427582e6629141eb8539f658cf1604a528</id>
<content type='text'>
* Removed the useless assignment in the config_version.rb error catching
* Single quote vs. double quote in Puppetfile
</content>
</entry>
<entry>
<title>Show the short hostname, not the FQDN in config_version</title>
<updated>2017-12-15T18:52:14Z</updated>
<author>
<name>Nate McCurdy</name>
<email>nate.mccurdy@puppet.com</email>
</author>
<published>2017-12-15T18:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=e5189b5515ea376a7e9763d3ad70e66cf116f24c'/>
<id>urn:sha1:e5189b5515ea376a7e9763d3ad70e66cf116f24c</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Use the puppet-agent ruby in config_version.rb</title>
<updated>2017-12-15T18:48:47Z</updated>
<author>
<name>Nate McCurdy</name>
<email>nate.mccurdy@puppet.com</email>
</author>
<published>2017-12-15T18:48:47Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=09df4b4961da424319d5208740aebbc9009eaa7b'/>
<id>urn:sha1:09df4b4961da424319d5208740aebbc9009eaa7b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>config_version: Show the compiling master's name</title>
<updated>2017-07-06T00:09:51Z</updated>
<author>
<name>Nate McCurdy</name>
<email>nate.mccurdy@puppet.com</email>
</author>
<published>2017-07-05T23:55:39Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=124b1a2727466e63cf82858bb09749454dae40d3'/>
<id>urn:sha1:124b1a2727466e63cf82858bb09749454dae40d3</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Add ruby shebang to config_version scripts</title>
<updated>2016-11-22T21:20:15Z</updated>
<author>
<name>Nick Walker</name>
<email>nick.walker@puppetlabs.com</email>
</author>
<published>2016-11-19T00:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=c9931ceef72fb68cbcd981a6922337b3d1719fad'/>
<id>urn:sha1:c9931ceef72fb68cbcd981a6922337b3d1719fad</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Set the execute bit for CM config version script</title>
<updated>2016-06-29T14:42:23Z</updated>
<author>
<name>Reid Vandewiele</name>
<email>reid@puppetlabs.com</email>
</author>
<published>2016-06-29T14:38:07Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=d340dd22880d3f16beeb5f2cc1d44b7a125954db'/>
<id>urn:sha1:d340dd22880d3f16beeb5f2cc1d44b7a125954db</id>
<content type='text'>
The execute bit needs to be set or CM will fail.

I think this was probably just missed when the
code_manager_config_version.rb file was added.
</content>
</entry>
<entry>
<title>Update config_version to read r10k_deploy.json file</title>
<updated>2015-12-18T17:24:27Z</updated>
<author>
<name>Nick Walker</name>
<email>nick.walker@puppetlabs.com</email>
</author>
<published>2015-12-15T00:28:13Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=56d0908db2919fc9734a7722ece4adaa9d7b9bdc'/>
<id>urn:sha1:56d0908db2919fc9734a7722ece4adaa9d7b9bdc</id>
<content type='text'>
Update config_version.sh to read the r10k_deploy.json file if it
exists.  If it does not exist it will fall back to the existing
logic
</content>
</entry>
<entry>
<title>Check for rugged or output UNIX epoch</title>
<updated>2015-11-20T14:13:17Z</updated>
<author>
<name>Ranjit Viswakumar</name>
<email>whatsaranjit@gmail.com</email>
</author>
<published>2015-11-20T14:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=c2bd0d3ca1fd4e9f2fce24196201835272fd1e21'/>
<id>urn:sha1:c2bd0d3ca1fd4e9f2fce24196201835272fd1e21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Checking for git first</title>
<updated>2015-11-20T14:13:17Z</updated>
<author>
<name>Ranjit Viswakumar</name>
<email>whatsaranjit@gmail.com</email>
</author>
<published>2015-11-20T13:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=f765903e25e2b7720a3cf52b78700275eb0197d5'/>
<id>urn:sha1:f765903e25e2b7720a3cf52b78700275eb0197d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update file permsissions to be 755 on scripts</title>
<updated>2015-08-31T20:20:43Z</updated>
<author>
<name>Nick Walker</name>
<email>nick.walker@puppetlabs.com</email>
</author>
<published>2015-08-31T20:20:43Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=869a5c3aa974b53e2f7f4c8fd8ab01fab0420f6d'/>
<id>urn:sha1:869a5c3aa974b53e2f7f4c8fd8ab01fab0420f6d</id>
<content type='text'>
</content>
</entry>
</feed>
