Add server_ca_client_self_delete to CA Servers
Add the server_ca_client_self_delete boolean parameter to CA servers. When true, allows puppet clients to delete their own certificate from the Puppet CA.
Add server_trusted_external_command parameter
Make it possible to configure the 'trusted_external_command' parameter. https://puppet.com/docs/puppet/latest/configuration.html#trustedexternalcommand Fixes #730.
Convert the systemd timer service to camptocamp/systemd
This was previously done manually, but there was already a soft dependency on systemd in the server side. This makes it a hard dependency and reuses logic.
Drop Foreman API version parameters
The latest theforeman-foreman has removed these and for older versions they have the only possible value as a default already.
Switch AIO detection to use aio_agent_version fact
This fact is a core fact that's only set on AIO installs. Setting this custom fact is also easier than the structured fact in our test suite which increases reliability of our tests.
Move custom facts to their own file
This is makes it compatible with modulesync
Use on_supported_os everywhere
46c4031 removed these helpers but was merged too soon.
Change storeconfigs to a simple boolean
Since Puppet 4.0 the active record backend is gone and the only one is PuppetDB. This is the default value for backend is puppetdb so we can simply expose the storeconfigs boolean.
Move PuppetDB config to a separate class
These parameters aren't for the puppetserver itself but rather the puppetdb config in a way that's compatible with this module. This makes it a bit clearer that it really needs an additional Puppet module.
Revert "Convert the systemd timer service to camptocamp/systemd"
This reverts commit 4302973, except the dependency bits. It's also updated to be lint clean. The reason to revert this is that the integrated daemon reload in systemd::timer leads to dependency cycles in the Katello scenario.
Fedora 26 is EOL. Fedora 32 is not added since there are no packages available. Because there are no server packages, a test just for the agent is added.