Allow for etherpad title to be parameterized

The general etherpad_lite module should not contain OpenStack as
a hardcoded title. Parameterize it.

Change-Id: I473720d9566233ab4c8d2081c9835b42ddfcb94e
This commit is contained in:
Monty Taylor 2014-02-10 14:50:15 -08:00
parent ecc5bafba6
commit 9ee8148d5d
4 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#
class etherpad_lite::site (
$database_password,
$etherpad_title,
$sessionKey = '',
$dbType = 'mysql',
$database_user = 'eplite',

View File

@ -5,7 +5,7 @@
*/
{
// Name your instance!
"title": "OpenStack Etherpad",
"title": "<%= etherpad_title %>",
//Ip and port which etherpad should bind at
"ip": "127.0.0.1",

View File

@ -25,6 +25,7 @@ class openstack_project::etherpad (
}
class { 'etherpad_lite::site':
etherpad_title => 'OpenStack Etherpad',
database_host => $mysql_host,
database_user => $mysql_user,
database_name => $mysql_db_name,

View File

@ -19,6 +19,7 @@ class openstack_project::etherpad_dev (
}
class { 'etherpad_lite::site':
etherpad_title => 'OpenStack Dev Etherpad',
database_host => $mysql_host,
database_user => $mysql_user,
database_name => $mysql_db_name,