Commit Graph

19 Commits

Author SHA1 Message Date
Clark Boylan c8c513a708 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: Ibe5c1ef369f3316b601e8715c8e4a4dad5cb809e
2022-02-17 11:36:23 -08:00
Ian Wienand a0986f3658 Install backported debootstrap
This debootstrap in the openstack-ci-core ppa is fixed so that Debian
buster can be built.

See

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901977
 http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2019-04-03.log.html#t2019-04-03T21:25:50

Change-Id: Icb26b916ea21083777b05549a16c9b169c98b5aa
2019-05-17 20:23:00 +10:00
Ian Wienand 26ce91e1f0 Use full key for gpg key
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
2019-05-17 16:15:48 +10:00
Clark Boylan 9ec928c2ec Vendor the vhd-util PPA's gpg key
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
2019-03-14 15:52:27 -07:00
Colleen Murphy ecb045d9cf Don't install python-yaml package
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
2018-07-13 14:16:15 +02:00
Dirk Mueller 3393404098 Add gnupg2 install for zypper as well
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
2017-05-24 23:03:35 +02:00
Paul Belanger 89fc332703
Add zypper package but not for trusty
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>
2017-05-24 15:28:17 -04:00
Mikhail S Medvedev 0b1ddfe1e6 Make vhd-util optional
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
2016-12-14 10:38:10 -06:00
Philip Marc Schwartz da28111dbd Upodate pip provider to use openstack_pip provider
Change-Id: Ie4615c94752326c220ab5a413d2ebc8d70091fe2
Signed-off-by: Philip Marc Schwartz <philip@progmad.com>
2016-06-16 08:54:32 -04:00
Andrey Nikitin 9f676ae3a9 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: I1a46fea86c378127fd2f50af49758a8f2007381b
2016-03-21 11:25:44 +03:00
Ian Wienand 10173a9d92 Add a use_git flag
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
2016-02-09 09:55:52 +11:00
Yolanda Robla 8a2b921345 Add lvm2 package to diskimage builder
This is needed for lvm element, to configure image volumes.

Change-Id: Iad8d86805ebf9058761b7d62e72d47c996af4c82
2015-12-17 19:15:01 +01:00
Glauco Oliveira 15d181f4b4 Fix apt issue.
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>
2015-10-01 16:23:10 -03:00
Colleen Murphy 0215d3c26f 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 the
lint error caught by the puppet-lint-absolute_classname-check gem.

Change-Id: I5d6563f4b4ae764aba71fb5489c16d6e8602f232
2015-07-21 18:43:08 -07:00
Monty Taylor d5ed31b5bf Remove invalid ensure parameter from apt::ppa
Only turned up in puppet apply testing in the puppet-nodepool patch.

Change-Id: Idaac8b1e2ff3e3705bd50b76e48f5d12b743244c
2015-05-02 21:46:30 -04:00
Monty Taylor 4736bd18c0 Consume vhd-util from infra vhd-util PPA
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
2015-04-17 12:13:47 -04:00
Monty Taylor 4303c5cd67 Fix metadata.json file
Change-Id: I5206d583073868ae780cb42455658a494edd9685
2015-04-17 12:13:19 -04:00
Monty Taylor 2b12ae8b3d Add vhd-util PPA 2015-03-25 17:28:20 -04:00
Monty Taylor d5d57ac9a3 Initial commit of module to install diskimage-builder 2015-03-25 10:17:02 -04:00