git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/data/nodes
Commit message (Collapse)AuthorAgeFilesLines
* Enable Hiera 5Reid Vandewiele 2017-11-151-0/+1
This commit enables the control repo to use Hiera 5 environment-level hiera hierarchy. This means adding a hiera.yaml to the repo, and moving hieradata/ => data/. We should do this to the control-repo template new customers base off of because in a Hiera 5 world, the global hiera.yaml should be very minimal (possibly even ONLY having the console level), and everything else (nodes, common) belongs in the environment hiera.yaml. This control-repo template is how people start using Puppet. It should reflect using our most modern technologies.
/span> | | | | - 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. * Resolve Rubocop warningsNate McCurdy 2018-05-081-1/+1 | | | | | * Removed the useless assignment in the config_version.rb error catching * Single quote vs. double quote in Puppetfile * Show the short hostname, not the FQDN in config_versionNate McCurdy 2017-12-152-2/+4 | | | | | | | | | | | | | | 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 * Use the puppet-agent ruby in config_version.rbNate McCurdy