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 is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I79e8d86f62aa9b85e71ef515594fd7e8b1569cab
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.
Change-Id: Ibc391f012da72455020635adf9860dcdd96bb862
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 be3381320cc93abc68006716449fb3fc07b8a70d.
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>
To use the standard artifact publication base job in zuul v3, we wind up
publishing these to a subdirectory of the project-config directory. The
files have already been copied - consume them from the new location.
Change-Id: Iebf3ad95ae9339b48c196098c43de0cec5b4657e
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>
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.
Change-Id: I7c4fd0abf27001ced0ca1670ce574126f8b40cfb
Add a xenial nodeset and update the spec helper to install puppet 3 from
the Ubuntu repos instead of from puppetlabs.
Change-Id: I2fa26251131f9c4188853c00131af51037004642
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
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: I088352ab96a0475e3f8e8c300741e6e330a11f72
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
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
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: Ic82eec3ab7d65874e6c6fd53ed9213e973f855b2
The content of this project is Apache 2 licensed, but we should
include a standard LICENSE file just to be clear about that.
Change-Id: Iee6320b9d7e35fbe8d3b0a9794f3e485c18ef2c8