diff options
author | elijah <elijah@riseup.net> | 2013-11-13 10:13:53 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-11-22 11:14:13 -0800 |
commit | 970fcd5d3262735c8ae7979a462cd77bf270b108 (patch) | |
tree | e559af2f04831ddaae091242ed96072373665c35 /puppet/modules/site_webapp | |
parent | 8dd6174fe2077a94c8ede027a8364d7ff3372f3d (diff) |
added custom index.html
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r-- | puppet/modules/site_webapp/manifests/init.pp | 13 |
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 { |