From ec6c48ab589d4174dc192a01c4b99833227c5942 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 13 Jan 2013 20:30:24 -0800 Subject: added ability to customize the webapp appearance --- provider_base/files/branding/head.scss | 1 + provider_base/files/branding/tail.scss | 1 + provider_base/provider.json | 3 ++- provider_base/services/webapp.json | 6 +++++- 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 provider_base/files/branding/head.scss create mode 100644 provider_base/files/branding/tail.scss (limited to 'provider_base') diff --git a/provider_base/files/branding/head.scss b/provider_base/files/branding/head.scss new file mode 100644 index 00000000..c100a004 --- /dev/null +++ b/provider_base/files/branding/head.scss @@ -0,0 +1 @@ +// no head.scss set diff --git a/provider_base/files/branding/tail.scss b/provider_base/files/branding/tail.scss new file mode 100644 index 00000000..919aeec6 --- /dev/null +++ b/provider_base/files/branding/tail.scss @@ -0,0 +1 @@ +// no tail.scss set diff --git a/provider_base/provider.json b/provider_base/provider.json index de5ad446..b659d47b 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -25,5 +25,6 @@ }, "vagrant":{ "network":"10.5.5.0/24" - } + }, + "hiera_sync_destination": "/etc/leap" } diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json index e40ed0ca..311f1284 100644 --- a/provider_base/services/webapp.json +++ b/provider_base/services/webapp.json @@ -2,7 +2,11 @@ "webapp": { "modules": ["user", "billing", "help"], "couchdb_hosts": "= hostnames nodes[:services => :couchdb][:local => local]", - "couchdb_user": "= global.services[:couchdb].couch.users[:webapp]" + "couchdb_user": "= global.services[:couchdb].couch.users[:webapp]", + "favicon": "= file_path 'branding/favicon.ico'", + "tail_scss": "= file_path 'branding/tail.scss'", + "head_scss": "= file_path 'branding/head.scss'", + "img_dir": "= file_path 'branding/img'" }, "definition_files": { "provider": "= file :provider_json_template", -- cgit v1.2.3