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:
parent
ecc5bafba6
commit
9ee8148d5d
@ -2,6 +2,7 @@
|
||||
#
|
||||
class etherpad_lite::site (
|
||||
$database_password,
|
||||
$etherpad_title,
|
||||
$sessionKey = '',
|
||||
$dbType = 'mysql',
|
||||
$database_user = 'eplite',
|
||||
|
@ -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",
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user