Commit Graph

23 Commits

Author SHA1 Message Date
Clark Boylan c359280702 Retire this repo
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
2022-02-17 12:44:05 -08:00
Monty Taylor 3141abcb6e Stop requiring openafs::client
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
2020-06-05 13:01:14 -05:00
Monty Taylor 37a8c7c59a Fix puppet lint
The puppet people changed their minds.

Change-Id: Id063d98638979147001373dba3aece210ff6a263
2020-06-05 13:01:14 -05:00
Ian Wienand 13a3a763e9 Fix lsbdistcodename typo
This was introduced with Iec5921769db7cab15b66f0d82c1705c799dd6ae8,
it's supposed to be "lsb" not "lib"

Change-Id: I113d0c0eaab291e82a4719d310e4e0b6489dc9dc
2018-02-19 10:22:26 +11:00
Ian Wienand 2b20dd001c Add Xenial arm64 support
Add arm64 support for Xenial hosts, based on the openstack-infra ppa
with suitable patches ported in.

Change-Id: Iec5921769db7cab15b66f0d82c1705c799dd6ae8
2018-02-15 14:59:38 +11:00
Paul Belanger b3a7b767b9
Restart openafs-client after dkms package is installed
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>
2017-11-15 01:34:34 -05:00
Paul Belanger 9a1ea51905
Revert "Install openafs-modules-dkms before openafs-client / openafs-krb5"
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>
2017-11-15 01:30:17 -05:00
Paul Belanger be3381320c
Install openafs-modules-dkms before openafs-client / openafs-krb5
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>
2017-11-14 23:34:46 -05:00
Paul Belanger 92dd2ba333
Start openafs-client after dkms has been run
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>
2017-11-14 22:15:31 -05:00
Paul Belanger 5b1efbc574
Force install of openafs-modules-dkms
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>
2017-09-24 10:56:25 -04:00
Monty Taylor 9ddc9c3ced
Enable the openafs-client service
On systemd hosts, you have to explicitly tell systemd to run the service
on boot.

Change-Id: Iabce35136cbd1409af3728b6b293de610ab2aba1
2016-06-25 12:43:05 -05:00
James E. Blair 95df6aeec2 Increase memory available to network stack on fileservers
This implements some systctl changes that have worked well on our
fileservers.

Change-Id: Ia146380824620847852d5f76595690d3b07b14a1
2016-05-10 12:00:16 -07:00
Andrey Nikitin efc0563277 Order of the class parameters is refactored
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
2016-03-21 16:45:19 +03:00
Ian Wienand fdd6f641ec Use CI built RPMs for CentOS7
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
2016-03-14 12:33:34 +11:00
Michael Krotscheck d381194b93 Added conditional statements for installed packages
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
2016-01-27 08:08:22 -08:00
James E. Blair 732efc17a3 Ensure linux-headers-generic is installed on Ubuntu
This was missing in one of our cloud providers

Change-Id: I2bd0bf3a5a76245ca6229e4a6b6af7a7eec1e091
2016-01-25 14:46:48 -08:00
James E. Blair a3a766c581 Fix openafs-client status check
openafs-client (on debian at least) does not support the status
command, so check for afsd in the process table instead.

Change-Id: Ieba4e452d00bb02c1efbe94de59296d4c2c3628d
2016-01-25 08:01:32 -08:00
James E. Blair baebdcad2e Add kstart to client
An OpenAFS client should have k5start (supplied by kstart package)
installed.

Change-Id: I704c8bf395d83adea0f9a0db6fd3d3814ad7660a
2016-01-20 15:06:04 -08:00
Colleen Murphy c54d2e16cb Add Gemfile and puppet 4 checks
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
2015-08-11 14:35:15 -07:00
Monty Taylor 31f0f3d085 Add support for CentOS6
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
2015-06-28 13:54:08 -04:00
Mikhail S Medvedev 27cbd575e6 Add standard puppet module files and .gitreview
This module has been split out from system-config, and additional
    files are added to create a proper puppet module.

    In addition, puppet-lint issues were fixed for manifests/*

    The spec:
    http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: I1398a01323a92e0737b99d6833bfdeec231878ce
2015-01-29 08:23:16 -06:00
Monty Taylor cf104cbd4f Fix one missed afs->openafs rename
Change-Id: I8e579798fb4eeece3d0946e5f0c22972c8b143b5
2014-10-20 15:55:16 -05:00
Monty Taylor b12c445585 Add AFS
I don't really think this needs any further explanation.

Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
2014-10-20 15:13:14 -05:00