Puppet routines for installing pip packages updated
Change-Id: Iaab43fa40d26fa505674e17fbff4145ba13b2f86
This commit is contained in:
parent
691ec5052f
commit
ade7a7abf2
|
@ -38,18 +38,16 @@ class vmware_dvs(
|
||||||
{
|
{
|
||||||
$true_network_maps = get_network_maps($network_maps, $neutron_physnet)
|
$true_network_maps = get_network_maps($network_maps, $neutron_physnet)
|
||||||
|
|
||||||
|
Exec { path => '/usr/bin:/usr/sbin:/bin:/sbin' }
|
||||||
|
|
||||||
package {['python-pip','python-dev','git-core']:
|
package {['python-pip','python-dev','git-core']:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
} ->
|
} ->
|
||||||
package {'suds':
|
exec {'install-suds':
|
||||||
ensure => latest,
|
command => 'pip install -q -I github.com/yunesj/suds@8dc6ae334272930a548c45665117ecded54c5f60#egg=suds',
|
||||||
provider => 'pip',
|
|
||||||
source => 'git+git://github.com/yunesj/suds.git',
|
|
||||||
} ->
|
} ->
|
||||||
package {'mech-vmware-dvs':
|
exec {'install-dvs':
|
||||||
ensure => present,
|
command => 'pip install -q git+git://github.com/Mirantis/vmware-dvs.git@stable/kilo#egg=mech-vmware-dvs',
|
||||||
provider => 'pip',
|
|
||||||
source => 'git+git://github.com/Mirantis/vmware-dvs.git',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
neutron_config {
|
neutron_config {
|
||||||
|
@ -81,7 +79,7 @@ class vmware_dvs(
|
||||||
service { 'neutron-server':
|
service { 'neutron-server':
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
subscribe => [Package['mech-vmware-dvs'],Ini_Subsetting['vmware_dvs_driver']],
|
subscribe => [Exec['install-dvs'],Ini_Subsetting['vmware_dvs_driver']],
|
||||||
}
|
}
|
||||||
|
|
||||||
service {'haproxy':
|
service {'haproxy':
|
||||||
|
|
Loading…
Reference in New Issue