summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-08-01 23:17:15 +0000
committerGerrit Code Review <review@openstack.org>2018-08-01 23:17:15 +0000
commitd3528346d4e376f73a1d11ed56d7c579ebc9372a (patch)
tree69a3960b869e105fa1a332c1223710c8a5646067
parentfe55026ce8ddad4919f90e0d97021a57d1a1fef4 (diff)
parent790bf6a783b6202251a92c6ee1e42b3a63244cfd (diff)
Merge "Don't create reviewday subdirectory"HEADmaster
-rw-r--r--manifests/site.pp14
1 files changed, 6 insertions, 8 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index e898813..736eb3f 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -67,19 +67,17 @@ define reviewday::site(
67 } 67 }
68 } 68 }
69 69
70 file {'/var/lib/reviewday/reviewday':
71 ensure => directory,
72 owner => 'reviewday',
73 group => 'reviewday',
74 mode => '0755',
75 require => File['/var/lib/reviewday/'],
76 }
77
78 vcsrepo { '/var/lib/reviewday/reviewday': 70 vcsrepo { '/var/lib/reviewday/reviewday':
79 ensure => latest, 71 ensure => latest,
80 provider => git, 72 provider => git,
81 source => $git_url, 73 source => $git_url,
82 revision => 'master', 74 revision => 'master',
75 owner => 'reviewday',
76 group => 'reviewday',
77 require => [
78 User['reviewday'],
79 Group['reviewday'],
80 ]
83 } 81 }
84 82
85 exec { 'install-reviewday-dependencies': 83 exec { 'install-reviewday-dependencies':