Fix path for reviewday dependencies
Currently puppet is failing because it cannot find pip. That is because the exec path is set to reviewday directory. Add /usr/local/bin and /bin as valid directories in the path as well. Change-Id: I3dc47004f1ace03ffa78fabdc13158dbcc16bb28
This commit is contained in:
parent
dee4cb5373
commit
8eb5a620b8
|
@ -83,8 +83,8 @@ define reviewday::site(
|
|||
}
|
||||
|
||||
exec { 'install-reviewday-dependencies':
|
||||
command => 'pip install -r requirements.txt',
|
||||
path => '/var/lib/reviewday/reviewday',
|
||||
command => 'pip install -r /var/lib/reviewday/reviewday/requirements.txt',
|
||||
path => '/usr/local/bin/:/bin/',
|
||||
subscribe => Vcsrepo['/var/lib/reviewday/reviewday'],
|
||||
require => Class['pip'],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue