summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-07-23 17:29:51 +0200
committervarac <varacanero@zeromail.org>2013-07-23 17:35:28 +0200
commit984a6d2e22ff3f11d9b772f9a86e6d75f5e14f4b (patch)
tree7b08ee7f80c0762e85565e8e5e5ca48b9a166577 /puppet/modules
parent3a12f829316b7ccaf353158ea58d27d6fd400065 (diff)
/srv/leap/webapp/public/img: require => Vcsrepo['/srv/leap/webapp']
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 {