Merge "Missing "install" command when using apt-get"

This commit is contained in:
Zuul 2018-04-13 04:18:59 +00:00 committed by Gerrit Code Review
commit cd1b2e7341
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ 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 --allow-unauthenticated ${::openstack_extras::repo::debian::params::deb_required_packages}",
command => "/usr/bin/apt-get update ; \
/usr/bin/apt-get -y --allow-unauthenticated install ${::openstack_extras::repo::debian::params::deb_required_packages}",
logoutput => 'on_failure',
tries => 3,
try_sleep => 1,