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
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
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
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>
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
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>
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
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