set the path parameter into exec apply-nova-patch resource
There is the aply-nova-patch resource which patch some files. Due to unknow reason it works on controller and does not work on compute-vmware when the path parameter is not specified. This commit add path in both cases. Change-Id: Ie34c068a203dc78d1eacd799102a9107c4048d68 Closes-bug: #1526691
This commit is contained in:
parent
44e7777a5d
commit
3df1f544af
|
@ -33,6 +33,7 @@ file {'/usr/lib/python2.7/dist-packages/nova.patch':
|
|||
notify => Exec['apply-nova-patch'],
|
||||
}
|
||||
exec {'apply-nova-patch':
|
||||
path => '/usr/bin:/usr/sbin:/bin',
|
||||
command => 'patch -d /usr/lib/python2.7/dist-packages -N -p1
|
||||
< /usr/lib/python2.7/dist-packages/nova.patch',
|
||||
refreshonly => true,
|
||||
|
|
|
@ -96,6 +96,7 @@ class vmware_dvs(
|
|||
notify => Exec['apply-nova-patch'],
|
||||
}
|
||||
exec {'apply-nova-patch':
|
||||
path => '/usr/bin:/usr/sbin:/bin',
|
||||
command => 'patch -d /usr/lib/python2.7/dist-packages -N -p1
|
||||
< /usr/lib/python2.7/dist-packages/nova.patch',
|
||||
refreshonly => true,
|
||||
|
|
Loading…
Reference in New Issue