Skip to content

Commit a193956

Browse files
imcsk8paramite
authored andcommitted
Add path to exec cinder type-create
The lack of path on the exec gives an error, i added the path as an array take in account Red Hat and Debian derivatives. Change-Id: Ibd78369a850340c07154a9a62a510e1804cf0464 (cherry picked from commit 9ef6d2f)
1 parent b5b45a2 commit a193956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/type.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
command => "cinder type-create ${volume_name}",
6363
unless => "cinder type-list | grep ${volume_name}",
6464
environment => concat($cinder_env, $region_env),
65-
require => Package['python-cinderclient']
65+
require => Package['python-cinderclient'],
66+
path => ['/usr/bin', '/bin'],
6667
}
6768

6869
if ($set_value and $set_key) {

0 commit comments

Comments
 (0)