summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 6c5bda4c..d5687804 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -146,6 +146,14 @@ class site_webapp {
mode => '0644',
require => Vcsrepo['/srv/leap/webapp'],
source => $webapp['img_dir'];
+
+ '/srv/leap/webapp/app/views/home/index.html.haml':
+ ensure => present,
+ owner => leap-webapp,
+ group => leap-webapp,
+ mode => '0644',
+ require => Vcsrepo['/srv/leap/webapp'],
+ source => $webapp['home_page'];
}
git::changes {
@@ -163,6 +171,11 @@ class site_webapp {
cwd => '/srv/leap/webapp',
require => Vcsrepo['/srv/leap/webapp'],
user => 'leap-webapp';
+
+ 'app/views/home/index.html.haml':
+ cwd => '/srv/leap/webapp',
+ require => Vcsrepo['/srv/leap/webapp'],
+ user => 'leap-webapp';
}
file {