In case there runs puppetserver on the same node and foreman is used as an ENC, the registration needs to happen before the smart proxy is configured, otherwise the ENC script cannot authenticate itself to foreman.
Closes GH-197
Here just so it's not just on my laptop. Feel free to give some early feedback, but this is not tested at all.
fe16b84b3a033fd860f3859d4aedba90b9e3bf1a caused a regression where the @client propery was no longer set.
This is very much a brain dump / simple notes.
Based on code by @bastelfreak in https://github.com/voxpupuli/modulesync_config/issues/397#issuecomment-341560854
Also adds all dependencies
Requires https://github.com/voxpupuli/puppet-blacksmith/pull/54 to be released.
A lot of my students miss this import. It's very subtle. This isn't as pretty but more obvious (as suggested by @thibaudcolas).
Closes GH-1165
For Debian Stretch there are no puppet 4 packages and we support 5.
Previously 1.2.3-rc0 bump would be increased to 1.2.4.
Also cleans up some testing code.
Something went wrong with the 4.1.1 release that resulted in an incorrect checksum on rubygems. Possible that's because we have multiple jobs attempting to release so it could have been some concurrency issue. This updates the Travis config to only deploy once.
Ported from foreman-bats with some cleanups.
This ensures the there is always a subjectAltNames in a CSR with the common name. The allow_dns_alt_names option is changed to ignore the CN matching the subjectAltNames.
Currently it's untested hence the WIP flag.
It's better to have this handled in puppetlabs-apt since this will also work for Debian 10 which has removed the apt-transport-https package.
This reduces duplication and fixes a potential duplicate resource of the unit drop in directory.
Also has some other cleanups
The httpauth module uses the webrick gem and that's nasty. Looks like it's breaking web02 right now so it's replaced with a much simpler module using simple puppet types and functions
This is untested but it should mostly cover what we have now.
36d1fb9212d5b8041b2323dc6b7340e19be1e067 makes this redundant
These were found while deploying