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: I1a9c4a56f98f271fb3baa9db6476c7901d09ba68
We're gonna retire this repo in a bit, but for now opendev is
installing openafs client via ansible, which means we don't
need to also install it via puppet. That's fine - except when
the openafs fileserver class has a requirement on it. Whoops.
Change-Id: Iab4ba6702c231846349679e56084328a68509d93
This was introduced with Iec5921769db7cab15b66f0d82c1705c799dd6ae8,
it's supposed to be "lsb" not "lib"
Change-Id: I113d0c0eaab291e82a4719d310e4e0b6489dc9dc
Add arm64 support for Xenial hosts, based on the openstack-infra ppa
with suitable patches ported in.
Change-Id: Iec5921769db7cab15b66f0d82c1705c799dd6ae8
Again, ubuntu-trusty is fine, but xenial seems to be a little
different. The openafs-client will start the service, but not
fully start because kernel modules are missing.
So, in this case, we'll kick the openafs-client service, once dkms
package has finished compiling.
Change-Id: I2cfcecc03e23ad9e906dbf9a4f058f0984084b37
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Sadly, this didn't work as expected. Revert so we can go a different
direction.
This reverts commit be3381320c.
Change-Id: Ie8633c3dc23dc9858d8fdbbad704cfcae5c51c12
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Again, this works properly under trusty, but xenial we need to have a
proper depenency. This is also the order under centos-7.
Change-Id: I6031f3d641e0a0b03c63c251de7a6d1c8310b7f9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This fixes an issue under ubuntu xenial, were the service appears to
be started before kernel modules are installed.
Change-Id: I2a3bdabca961ba0cd05984293ee265e2f02b8286
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When running puppet-openafs on nodepool nodes (DIB) we actively
disable recommends / suggests from getting installed. Ensure
openafs-modules-dkms is installed so we don't have to manually compile
the kernel module.
Change-Id: I0ba63b8c0303ed51444145ab496580221ca025fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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: I51172af3dbc0c7a3923f550cc2a7794eff7cb74d
There is no official RPM packages for AFS on CentOS7 at this point.
Openstack builds some for us with
I53e8267b2a0fc31589dd3a1f3e3f3a86175a2e15; modify the installation to
point to this repo.
I have tested this locally on a devstack-centos7 node against the
built rpm repo [1]. The puppet run took a long-ish ~5 minutes as it
has to build the kernel modules via dkms. However, after this, I
could access the afs mount [2].
[1] https://tarballs.openstack.org/package-afs-centos7/
[2] http://paste.openstack.org/show/490323/
Change-Id: Ib7bc8892cd0e94cc71df1988c48cf94435216c8f
Depends-On: I53e8267b2a0fc31589dd3a1f3e3f3a86175a2e15
Packages required to use this module may also be declared
in downstream manifests. This patch adds necessary if conditions,
to ensure these do not cause conflicts.
Change-Id: I3c1b6cbd5743a8331752bfe4dcb33267ddcf840d
openafs-client (on debian at least) does not support the status
command, so check for afsd in the process table instead.
Change-Id: Ieba4e452d00bb02c1efbe94de59296d4c2c3628d
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 check as well
as arrow alignment errors that were not being caught by the
system-installed version of puppet-lint before.
Change-Id: I4d7d5c89efe4bc95ea9f915bee89eb0d9d069106
Let's discuss the myriad of ways in which this is broken, but let's do
it later while crying into our beer. For now, this installs GPG public
keys and yum repo files, then attempts to install the OpenAFS packages
as per the instructions here:
http://wiki.openafs.org/RpmClientInstallationWithDKMS/
Depends-On: I663ce7dfcb9663ce24e63c50308df5e51841731c
Change-Id: Id745d9be78da338f4985f5a8ab185caeefb1e71b