Merge "Fix exec idempotency"

This commit is contained in:
Zuul 2018-08-01 23:15:51 +00:00 committed by Gerrit Code Review
commit f639f9fe4a
1 changed files with 5 additions and 4 deletions

View File

@ -83,10 +83,11 @@ define reviewday::site(
}
exec { 'install-reviewday-dependencies':
command => 'pip install -r /var/lib/reviewday/reviewday/requirements.txt',
path => '/usr/local/bin/:/bin/',
subscribe => Vcsrepo['/var/lib/reviewday/reviewday'],
require => Class['pip'],
command => 'pip install -r /var/lib/reviewday/reviewday/requirements.txt',
path => '/usr/local/bin/:/bin/',
subscribe => Vcsrepo['/var/lib/reviewday/reviewday'],
refreshonly => true,
require => Class['pip'],
}
file { $httproot: