summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp15
1 files changed, 8 insertions, 7 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 103a0faf..f3c28f49 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -128,14 +128,15 @@ class site_webapp {
source => $webapp['head_scss'];
'/srv/leap/webapp/public/img':
- ensure => directory,
+ ensure => directory,
recurse => true,
- purge => true,
- force => true,
- owner => leap-webapp,
- group => leap-webapp,
- mode => '0644',
- source => $webapp['img_dir'];
+ purge => true,
+ force => true,
+ owner => leap-webapp,
+ group => leap-webapp,
+ mode => '0644',
+ require => Vcsrepo['/srv/leap/webapp'],
+ source => $webapp['img_dir'];
}
file {