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: Ibe5c1ef369f3316b601e8715c8e4a4dad5cb809e
We are still seeing gpg failures, suggesting this key insn't installed
correctly. I found a suggestion that because of format changes in gpg
output, this might work better with a full key...
Change-Id: I05696e5d85e96e5f96de612a1572b132ed1e3869
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: Ic240a962374b2a7a0df9e069bb7f75bb331512f0
We do this because the ubuntu keyservers haven't been super reliable
recently, but also because it makes this a bit more secure as we control
the entire pubkey material and avoid potential for id collisions.
Change-Id: I38988905a46d250857f8509394c2c3b7ae3c2707
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.
Depends-On: https://review.openstack.org/582518
Change-Id: Ie46d285aa0dfdd30617efd675d60a8fa04bf45e5
PyYAML is already a dependency of diskimage-builder, so the distro
package doesn't need to be installed explicitly. If it is installed by
the distro, then on a system with pip 10 the DIB installation will fail.
Change-Id: Ibbd69930f8282fe9b7daef9808db3219a0f67ced
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: I19a88cf153d6e713fffff14fb2ec8300999e965c
Since the beaker jobs are being run on xenial, we need a special nodeset
for it, otherwise beaker gives an error:
beaker-hostgenerator was not able to use this value as input.
Exiting with an Error.
We also want to install puppet from the Ubuntu repos rather than from
puppetlabs, since puppetlabs doesn't support puppet 3 for Xenial. For
centos we can keep the install process the same.
Change-Id: Ifd2244ae9dd212b2475f9cd6adb994bc058a4769
Depends-On: I091865f0c1cb5edf67a5f021fcf5adce7d8dda54
Depends-On: I98dfc07c955e1fe90905b619d16129544c27e861
As of today zypper is explicitly using /usr/bin/gpg2 for signature
validation but this is typically not installed on an Ubuntu host
because it defaults to gnupg (1.x, which only provides /usr/bin/gpg).
This change is needed so that the zypper-minimal element has a
chance of working on a Xenial host.
Change-Id: If57b07dcf31b8eeb2a3a44442315dd1d70b3523d
Since we want to start building opensuse-minimal images, we need to
install zypper. But trusty doesn't have this package, so don't install
it.
Change-Id: Ie1df66bddc39fb624f5e0a7a646dc4ff752b2a21
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Bindep is a tool for checking the presence of binary packages needed
to use an application / library. It started life as a way to make it
easier to set up a development environment for OpenStack projects.
Change-Id: I091865f0c1cb5edf67a5f021fcf5adce7d8dda54
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
vhd-util is not always present in default system package repositories.
And even custom ppa might not provide the package for all distributions.
If vhd-util is not available and we do not care for building vhd images,
allow to opt-out from installing the dependency.
Change-Id: Icb027b52fdcb790f99e90821974582da0bf6caab
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: I1a46fea86c378127fd2f50af49758a8f2007381b
Add a use_git flag and git tree location to source diskimage-builder
from the latest git, rather than the latest pypi release.
Change-Id: I4478ec0e591e6bcf81e1117e39e5fdac4ebdf22d
Add acceptance tests for puppet-diskimage_builder module so that once
the module is applied we check if packages were installed.
Change-Id: I37a7e4ae9f1a380568c0aa4f09cef1dfb7c4aaa9
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
During the testing, we noticed that apt::ppa was failing for two
reasons:
- it was being used without including the module
- it was not updating the package list after including the ppa.
We then included the apt module in the beginning and required an apt
update before installing the packages.
Change-Id: I13ed3711314154d2267e96add6f48dce3f3dfc84
Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com>
Use same target directory for zuul-cloner and
the regular git command.
Change-Id: I3de50ee73d52e37b31e825ff22a94438562e2065
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 the
lint error caught by the puppet-lint-absolute_classname-check gem.
Change-Id: I5d6563f4b4ae764aba71fb5489c16d6e8602f232
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: I27d4a9f47adc7ab3aef0bef6346db64f959dbdd8
Originally this was just in the mordred PPA, which isn't really a great
place for it. Consume from the documented Infra PPA.
Change-Id: I5a04c25e1eb40029ebc2bf70b535325b924efb1a