The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.
Change-Id: I0d5dd508af2482bc43db9c25bf197dfb7d0eadc4
This simplification takes advantage of the fact that ensure => running
is equivalent to ensure => true (and similar for stopped and false) to
reduce the number of variables we have to track to ensure a service is
both enabled and running or disabled and stopped.
This also fixes krb5-kpropd to run on boot without waiting for a puppet
pulse.
Change-Id: I7255cd6bd719946b7525bcbbff983038d81b48a6
Since ubuntu 16.04 or so the krb5-admin-server package is broken in the
postinst scripts. What happens is they try to set a debconf value if the
defaults file for this service sets RUN_KADMIND to false. Unfortunately
the key/question debconf is setting has no associated templates entry so
package install fails.
We work around this by not setting this value in the defaults file on
newer ubuntu and instead rely on our init system to manage that state.
Change-Id: I0ffe2a2acbe76acb0069df18253367ed2528241f
Add a systemd script, which is backported from Artful. So good news if
we are still running puppet when ubuntu 18.04 upgrades happen, we can
delete this code.
Change-Id: I806abac132efedfd2b97dea1d0954e6235f26673
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This prohibits the client being installed some other way. If we
want to install afs on a kerberos server, it will want to include
the client. If we don't want to install afs but we do want to
install kerb clients, we will need to add kerberos::client to the
kdc definition.
Change-Id: I6f2a370b521da08184e388ae0f4ceff363af5c0b
Order and intendation of those parameters are changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.
[0]. https://docs.puppetlabs.com/guides/style_guide.html
Change-Id: I80d176298cd8897f0d6e8b056823f4ad97fbef44
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-absolute_classname-check gem as well
as arrow alignment errors not caught before.
Change-Id: I0b891a9f89508bca8cd30cb2fb2253779a3661b4
Step one in an AFS cell is getting kerberos working. This does not
provide end-to-end KDC management - the realm still needs to be
created by hand.
Change-Id: I891d784d676ab79e7aca9c883dd9e705a30db6e5