Adds misc repository for Ubuntu and CentOS
as it's needed by midolman later on Change-Id: Ic2294ec4bfd142c3146087f5cdbc04316ceb1a4f
This commit is contained in:
@@ -64,6 +64,15 @@ class midonet::repository::centos (
|
|||||||
gpgkey => $midonet::params::midonet_key_url,
|
gpgkey => $midonet::params::midonet_key_url,
|
||||||
timeout => 60
|
timeout => 60
|
||||||
}
|
}
|
||||||
|
yumrepo { 'midonet-misc':
|
||||||
|
name => "${midonet_repo_prefix}-misc",
|
||||||
|
baseurl => "http://${midonet::params::midonet_repo_baseurl}/misc/${midonet_stage}/el${::operatingsystemmajrelease}",
|
||||||
|
descr => '3rd party tools and libraries',
|
||||||
|
enabled => 1,
|
||||||
|
gpgcheck => 1,
|
||||||
|
gpgkey => $midonet::params::midonet_key_url,
|
||||||
|
timeout => 60
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -76,6 +76,13 @@ class midonet::repository::ubuntu (
|
|||||||
include_src => false,
|
include_src => false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apt::source {'midonet-openstack-misc':
|
||||||
|
comment => 'Midonet 3rd party tools and libraries',
|
||||||
|
location => "http://${midonet::params::midonet_repo_baseurl}/misc",
|
||||||
|
release => $midonet_stage,
|
||||||
|
include_src => false,
|
||||||
|
}
|
||||||
|
|
||||||
# Dummy exec to wrap apt_update
|
# Dummy exec to wrap apt_update
|
||||||
exec {'update-midonet-repos':
|
exec {'update-midonet-repos':
|
||||||
command => '/bin/true',
|
command => '/bin/true',
|
||||||
|
|||||||
Reference in New Issue
Block a user