Allow unauthenticated packages for DPDK

Change-Id: I96e846d84247108d5fa78f9b9c3606dbdfd9eecd
Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
This commit is contained in:
Illia Polliul 2016-10-19 14:09:29 +03:00
parent 5d386b3aa7
commit 40bccf4388
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,9 @@ class contrail::compute::override {
ensure => file,
content => 'Label: dpdk-depends-packages',
} ->
apt::conf { 'allow-unathenticated':
content => 'APT::Get::AllowUnauthenticated 1;',
} ->
apt::source { 'dpdk-depends-repo':
location => 'file:/opt/contrail/contrail_install_repo_dpdk',
repos => './',
@ -65,6 +68,7 @@ class contrail::compute::override {
exec { 'override-nova':
command => "apt-get install --yes --force-yes ${keep_config_files} ${force_overwrite} nova-compute nova-compute-kvm",
unless => 'dpkg -l | grep nova-compute | grep contrail',
require => Apt::Conf['allow-unathenticated'],
}
}