summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-08-01 23:15:51 +0000
committerGerrit Code Review <review@openstack.org>2018-08-01 23:15:51 +0000
commitf639f9fe4ad78971b1e23bdb546f3904556be604 (patch)
tree481d52c1ee56d81ff0a46e04e56dee51dc828a36
parentdd41a34c675b8b44d0ed84dd371c01f5a357fb00 (diff)
parent3d9839bfa4bf39cfef4e81697df35196001049e1 (diff)
Merge "Fix exec idempotency"
-rw-r--r--manifests/site.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 400a327..e898813 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -83,10 +83,11 @@ define reviewday::site(
83 } 83 }
84 84
85 exec { 'install-reviewday-dependencies': 85 exec { 'install-reviewday-dependencies':
86 command => 'pip install -r /var/lib/reviewday/reviewday/requirements.txt', 86 command => 'pip install -r /var/lib/reviewday/reviewday/requirements.txt',
87 path => '/usr/local/bin/:/bin/', 87 path => '/usr/local/bin/:/bin/',
88 subscribe => Vcsrepo['/var/lib/reviewday/reviewday'], 88 subscribe => Vcsrepo['/var/lib/reviewday/reviewday'],
89 require => Class['pip'], 89 refreshonly => true,
90 require => Class['pip'],
90 } 91 }
91 92
92 file { $httproot: 93 file { $httproot: