cinder-type: delete PATH in exec
By deleting PATH, we are able to run both commands (cinder type-* and grep) without environment issue. Change-Id: I5dd1c60892c7848b02ab71ea30bc49b4b4c26029 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
1569926f0f
commit
6e05262048
@ -41,7 +41,6 @@ define cinder::type (
|
||||
# reasons, the credential discovery magic can occur like in neutron.
|
||||
|
||||
exec {"cinder type-create ${volume_name}":
|
||||
path => '/usr/bin',
|
||||
command => "cinder type-create ${volume_name}",
|
||||
unless => "cinder type-list | grep ${volume_name}",
|
||||
environment => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user