Skip to content

Commit 2734f5d

Browse files
Emilien Macchimatthewfischer
authored andcommitted
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> (cherry picked from commit 6e05262)
1 parent 037cace commit 2734f5d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

manifests/type.pp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
}
6060

6161
exec {"cinder type-create ${volume_name}":
62-
path => '/usr/bin',
6362
command => "cinder type-create ${volume_name}",
6463
unless => "cinder type-list | grep ${volume_name}",
6564
environment => concat($cinder_env, $region_env),

0 commit comments

Comments
 (0)