<feed xmlns='http://www.w3.org/2005/Atom'>
<title>control-repo-template/scripts, branch config_version_lirion</title>
<subtitle>puppetlabs/control-repo extended with not-so-core stuff</subtitle>
<id>https://git.pfeiffer.tech/control-repo-template/atom?h=config_version_lirion</id>
<link rel='self' href='https://git.pfeiffer.tech/control-repo-template/atom?h=config_version_lirion'/>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/'/>
<updated>2025-08-15T05:21:01Z</updated>
<entry>
<title>+ config_version implementations with commit message</title>
<updated>2025-08-15T05:21:01Z</updated>
<author>
<name>Harald Pfeiffer</name>
<email>puppet@lirion.de</email>
</author>
<published>2025-08-15T05:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=d2221daeb81ad9f627d2499fa7817ea1cf3379c5'/>
<id>urn:sha1:d2221daeb81ad9f627d2499fa7817ea1cf3379c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check if git repo exists when generating config version</title>
<updated>2022-07-16T17:59:00Z</updated>
<author>
<name>Miles Stötzner</name>
<email>miles@stoetzner.de</email>
</author>
<published>2022-07-16T17:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=ffc8ef90aea3512afacd02c3c2ce939f35d56d7a'/>
<id>urn:sha1:ffc8ef90aea3512afacd02c3c2ce939f35d56d7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't assume git is in /usr/bin; expect it on PATH</title>
<updated>2019-10-16T20:05:33Z</updated>
<author>
<name>Reid Vandewiele</name>
<email>reid@puppet.com</email>
</author>
<published>2019-10-16T19:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=e46d209f19ad94c89652bec8064a8b6ce880a752'/>
<id>urn:sha1:e46d209f19ad94c89652bec8064a8b6ce880a752</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restore and clarify config_version functionality</title>
<updated>2019-10-16T17:26:21Z</updated>
<author>
<name>Reid Vandewiele</name>
<email>reid@puppet.com</email>
</author>
<published>2019-10-16T17:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=ada94157a42e1d20112eaa74618e2f22db4ed560'/>
<id>urn:sha1:ada94157a42e1d20112eaa74618e2f22db4ed560</id>
<content type='text'>
This branch is intended as a portability fix. Some functionailty had
been inadvertently removed as unused, but testing revealed that it had a
purpose. Because the purpose was unclear, this commit restores the
functionality AND clarifies it in the script names and comments in
config_version.sh.
</content>
</entry>
<entry>
<title>Remove code dead for more than 2 years</title>
<updated>2018-05-11T20:28:40Z</updated>
<author>
<name>Romain Tartière</name>
<email>romain@blogreen.org</email>
</author>
<published>2018-04-07T09:59:18Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=415a71dd59c17093684efd3a1376afe1bfb8824d'/>
<id>urn:sha1:415a71dd59c17093684efd3a1376afe1bfb8824d</id>
<content type='text'>
r10k generates a .r10k-deploy.json file since version 2.1.0 which was
released on October 28, 2015.  New users of the control-repo are not
likely to have a so old version of r10k, so remove this dead code.
</content>
</entry>
<entry>
<title>Do sanity checking early</title>
<updated>2018-05-11T20:26:49Z</updated>
<author>
<name>Romain Tartière</name>
<email>romain@blogreen.org</email>
</author>
<published>2018-04-07T09:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=211ecc58b5b650ed158f0c36158a85a289ce2640'/>
<id>urn:sha1:211ecc58b5b650ed158f0c36158a85a289ce2640</id>
<content type='text'>
Fail before doing anything when passed parameters are invalid.
</content>
</entry>
<entry>
<title>Remove execute permission and shebangs</title>
<updated>2018-05-11T20:26:49Z</updated>
<author>
<name>Romain Tartière</name>
<email>romain@blogreen.org</email>
</author>
<published>2018-04-07T09:18:26Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=61d0147e494521aff0c4d80abda52abde774c27e'/>
<id>urn:sha1:61d0147e494521aff0c4d80abda52abde774c27e</id>
<content type='text'>
The appropriate ruby interpreter is determined by the config_version.sh
shell script which explicitely use it to start these ruby scripts.
Removing the execute bit ensure users will not run these script with the
wrong Ruby version.
</content>
</entry>
<entry>
<title>Improve portability</title>
<updated>2018-05-11T20:25:27Z</updated>
<author>
<name>Romain Tartière</name>
<email>romain@blogreen.org</email>
</author>
<published>2018-04-07T09:13:41Z</published>
<link rel='alternate' type='text/html' href='https://git.pfeiffer.tech/control-repo-template/commit/?id=ffc1769d2e9ab6057d44660e2ef4430a70652836'/>
<id>urn:sha1:ffc1769d2e9ab6057d44660e2ef4430a70652836</id>
<content type='text'>
- Fix shebang: `bash` is not always in `/bin/`, and since the script
  does not have bashism, rely on `sh` which is always in `/bin/`;
- Use `/opt/puppetlabs/puppet/bin/ruby` if this file exist and is
  executable, otherwise use `ruby` from $PATH;
- Use `code_manager_config_version.rb` if `.r10k-deploy.json` is found,
  and `config_version.rb` in all other cases.
</content>
</entry>
<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>
</feed>
