Install correctly openstack-backports-archive-keyring

Currently, this puppet module uses this command for installing the Debian
archive keyring:

  apt-get install -y openstack-backports-archive-keyring

It is in fact missing the --allow-unauthenticated option, which is
necessary since the package is not authenticated before it is installed.
Therefore, the command fails and ./all-in-one.sh just stops.

Change-Id: I396eefa6408656a36c8debb13bbab608b52e0d68
This commit is contained in:
Thomas Goirand 2018-04-08 17:44:46 +02:00
parent 9b63dc312e
commit 5e1245898e
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class openstack_extras::repo::debian::debian(
$deb_manage = pick($manage_whz, $manage_deb)
if $deb_manage {
exec { 'installing openstack-backports-archive-keyring':
command => "/usr/bin/apt-get -y ${::openstack_extras::repo::debian::params::deb_required_packages}",
command => "/usr/bin/apt-get -y --allow-unauthenticated ${::openstack_extras::repo::debian::params::deb_required_packages}",
logoutput => 'on_failure',
tries => 3,
try_sleep => 1,