Run 3 sepeerate commands in an exec() call instead of the
usual pip provider call to make pip respond correctly
and not crash

Change-Id: Ic9449395d1aa0fcf02442adcd495e058383197fc
This commit is contained in:
Simon Dodsley 2016-03-11 09:12:04 -05:00
parent eb2a678908
commit 72a57df537
1 changed files with 13 additions and 4 deletions

View File

@ -23,10 +23,19 @@ class plugin_purestorage_cinder::controller (
include ::cinder::client
include ::keystone::client
package {"purestorage":
ensure => "installed",
provider => pip
}
#
# Interim fix for Mirantis bug (https://bugs.launchpad.net/fuel/+bug/1547048)
# Run 3 sepeerate commands to make pip respond correctly and not crash
#
# package {"purestorage":
# ensure => "installed",
# provider => pip
# }
exec {"pip configuration":
command => 'pip install -U pip; pip install --upgrade distribute; pip install purestorage',
path => ['/usr/bin']
}
$plugin_settings = hiera('fuel-plugin-purestorage-cinder')