summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-01-13 20:30:24 -0800
committerelijah <elijah@riseup.net>2013-01-13 20:30:24 -0800
commitec6c48ab589d4174dc192a01c4b99833227c5942 (patch)
treecdacdfbaecaf7c72761b474be0cebaf8ddab5a48 /puppet/modules
parent886063ca1db3a4ce8fbd72e4ead9b5f2371979a5 (diff)
added ability to customize the webapp appearance
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 22695966..f7c6565e 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -5,6 +5,7 @@ class site_webapp {
$eip_service = $definition_files['eip_service']
$node_domain = hiera('domain')
$provider_domain = $node_domain['full_suffix']
+ $webapp = hiera('webapp')
Class[Ruby] -> Class[rubygems] -> Class[bundler::install]
@@ -70,6 +71,22 @@ class site_webapp {
'/srv/leap-webapp/public/config/eip-service.json':
content => $eip_service,
owner => leap-webapp, group => leap-webapp, mode => '0644';
+
+ '/srv/leap-webapp/public/favicon.ico':
+ ensure => 'link',
+ target => $webapp['favicon'];
+
+ '/srv/leap-webapp/app/assets/stylesheets/tail.scss':
+ ensure => 'link',
+ target => $webapp['tail_scss'];
+
+ '/srv/leap-webapp/app/assets/stylesheets/head.scss':
+ ensure => 'link',
+ target => $webapp['head_scss'];
+
+ '/srv/leap-webapp/public/img':
+ ensure => 'link',
+ target => $webapp['img_dir'];
}
file {