6wind-virtual-accelerator-plugin: postpone 6wind extension installation

This patch postpones 6wind-openstack-extension in the post deployment
phase to make sure that nova compute is already installed.
This scenario should not happen but let's make sure.

Signed-off-by: Francesco Santoro <francesco.santoro@6wind.com>

Change-Id: I92bea776cc0aa354aede88ef00316b8762841b83
This commit is contained in:
Francesco Santoro 2016-09-30 13:53:38 +02:00
parent 3aa2121272
commit bf94308fd5
2 changed files with 5 additions and 4 deletions

View File

@ -32,10 +32,6 @@ class virtual_accelerator::install inherits virtual_accelerator {
} ->
package { 'crudini':
ensure => 'installed',
} ->
package { "6wind-openstack-extensions":
ensure => 'installed',
install_options => ['--allow-unauthenticated'],
}
}

View File

@ -13,6 +13,11 @@ class virtual_accelerator::service inherits virtual_accelerator {
}
}
package { "6wind-openstack-extensions":
ensure => 'installed',
install_options => ['--allow-unauthenticated'],
}
exec { 'vcpu_pin':
command => "crudini --set ${NOVA_CONF_FILE} DEFAULT vcpu_pin_set $(python /usr/local/bin/get_vcpu_pin_set.py)",
notify => Service['virtual-accelerator'],