diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-18 09:52:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-18 09:52:29 -0300 |
commit | 83bdfe2e56cc8c1823a3846f7a3c276770fa65d9 (patch) | |
tree | e430248a398e93edafd7b4dea73ee1dbbbeb9f40 /templates/sympa | |
parent | 0fae80a1a028a20bfe2b133995d60b2cb29bde4a (diff) | |
download | puppet-mail-83bdfe2e56cc8c1823a3846f7a3c276770fa65d9.tar.gz puppet-mail-83bdfe2e56cc8c1823a3846f7a3c276770fa65d9.tar.bz2 |
Updates templates
Diffstat (limited to 'templates/sympa')
-rw-r--r-- | templates/sympa/dbconfig-common.squeeze.erb | 8 | ||||
-rw-r--r-- | templates/sympa/dbconfig-common.wheezy.erb | 8 | ||||
-rw-r--r-- | templates/sympa/sympa.conf.squeeze.erb | 20 | ||||
-rw-r--r-- | templates/sympa/sympa.conf.wheezy.erb | 16 | ||||
-rw-r--r-- | templates/sympa/transport_regexp.erb | 4 | ||||
-rw-r--r-- | templates/sympa/virtual_regexp.erb | 2 |
6 files changed, 29 insertions, 29 deletions
diff --git a/templates/sympa/dbconfig-common.squeeze.erb b/templates/sympa/dbconfig-common.squeeze.erb index 91a9c97..6bae257 100644 --- a/templates/sympa/dbconfig-common.squeeze.erb +++ b/templates/sympa/dbconfig-common.squeeze.erb @@ -24,17 +24,17 @@ dbc_dbtype='mysql' # dbc_dbuser: database user # the name of the user who we will use to connect to the database. -dbc_dbuser='<%= database_name %>' +dbc_dbuser='<%= @database_name %>' # dbc_dbpass: database user password # the password to use with the above username when connecting # to a database, if one is required -dbc_dbpass='<%= database_password %>' +dbc_dbpass='<%= @database_password %>' # dbc_dbserver: database host. # leave unset to use localhost (or a more efficient local method # if it exists). -dbc_dbserver='<%= database_host %>' +dbc_dbserver='<%= @database_host %>' # dbc_dbport: remote database port # leave unset to use the default. only applicable if you are @@ -43,7 +43,7 @@ dbc_dbport='' # dbc_dbname: name of database # this is the name of your application's database. -dbc_dbname='<%= database_name %>' +dbc_dbname='<%= @database_name %>' # dbc_dbadmin: name of the administrative user # this is the administrative user that is used to create all of the above diff --git a/templates/sympa/dbconfig-common.wheezy.erb b/templates/sympa/dbconfig-common.wheezy.erb index 91a9c97..6bae257 100644 --- a/templates/sympa/dbconfig-common.wheezy.erb +++ b/templates/sympa/dbconfig-common.wheezy.erb @@ -24,17 +24,17 @@ dbc_dbtype='mysql' # dbc_dbuser: database user # the name of the user who we will use to connect to the database. -dbc_dbuser='<%= database_name %>' +dbc_dbuser='<%= @database_name %>' # dbc_dbpass: database user password # the password to use with the above username when connecting # to a database, if one is required -dbc_dbpass='<%= database_password %>' +dbc_dbpass='<%= @database_password %>' # dbc_dbserver: database host. # leave unset to use localhost (or a more efficient local method # if it exists). -dbc_dbserver='<%= database_host %>' +dbc_dbserver='<%= @database_host %>' # dbc_dbport: remote database port # leave unset to use the default. only applicable if you are @@ -43,7 +43,7 @@ dbc_dbport='' # dbc_dbname: name of database # this is the name of your application's database. -dbc_dbname='<%= database_name %>' +dbc_dbname='<%= @database_name %>' # dbc_dbadmin: name of the administrative user # this is the administrative user that is used to create all of the above diff --git a/templates/sympa/sympa.conf.squeeze.erb b/templates/sympa/sympa.conf.squeeze.erb index d6e691c..1b8496e 100644 --- a/templates/sympa/sympa.conf.squeeze.erb +++ b/templates/sympa/sympa.conf.squeeze.erb @@ -49,18 +49,18 @@ log_level 0 ###\\\\ General definition ////### ## Main robot hostname -domain <%= subdomain %>.<%= domain %> +domain <%= @subdomain %>.<%= @domain %> ## Listmasters email list comma separated ## Sympa will associate listmaster privileges to these email addresses (mail and web interfaces). Some error reports may also be sent to these addresses. -listmaster <%= listmasters %> +listmaster <%= @listmasters %> ## Local part of sympa email adresse ## Effective address will be [EMAIL]@[HOST] email sympa ## Default lang (cs | de | el | en_US | fr | hu | it | ja_JP | nl | oc | pt_BR | tr) -lang <%= lang %> +lang <%= @lang %> ## Who is able to create lists ## This parameter is a scenario, check sympa documentation about scenarios if you want to define one @@ -140,17 +140,17 @@ db_type mysql ## Name of the database ## with SQLite, the name of the DB corresponds to the DB file -db_name <%= database_name %> +db_name <%= @database_name %> ## The host hosting your sympa database -db_host <%= database_host %> +db_host <%= @database_host %> ## Database user for connexion -db_user <%= database_name %> +db_user <%= @database_name %> ## Database password (associated to the db_user) ## What ever you use a password or not, you must protect the SQL server (is it a not a public internet service ?) -db_passwd <%= database_password %> +db_passwd <%= @database_password %> ## Database private extention to user table ## You need to extend the database format with these fields @@ -163,10 +163,10 @@ db_passwd <%= database_password %> ###\\\\ Web interface ////### ## Sympa's main page URL -wwsympa_url https://<%= subdomain %>.<%= domain %>/wws +wwsympa_url https://<%= @subdomain %>.<%= @domain %>/wws ## SOAP service URL -soap_url https://<%= subdomain %>.<%= domain %>/sympasoap +soap_url https://<%= @subdomain %>.<%= @domain %>/sympasoap ## Supported languages for the user interface supported_lang en_US,pt_BR @@ -179,5 +179,5 @@ bounce_halt_rate 50 <%- unless logo_html_definition.to_s.empty? then -%> ## Logo -logo_html_definition <%= logo_html_definition %> +logo_html_definition <%= @logo_html_definition %> <%- end %> diff --git a/templates/sympa/sympa.conf.wheezy.erb b/templates/sympa/sympa.conf.wheezy.erb index 78080b8..c23e0ee 100644 --- a/templates/sympa/sympa.conf.wheezy.erb +++ b/templates/sympa/sympa.conf.wheezy.erb @@ -45,18 +45,18 @@ log_level 0 ###\\\\ General definition ////### ## Main robot hostname -domain <%= subdomain %>.<%= domain %> +domain <%= @subdomain %>.<%= @domain %> ## Listmasters email list comma separated ## Sympa will associate listmaster privileges to these email addresses (mail and web interfaces). Some error reports may also be sent to these addresses. -listmaster <%= listmasters %> +listmaster <%= @listmasters %> ## Local part of sympa email adresse ## Effective address will be [EMAIL]@[HOST] email sympa ## Default lang (cs | de | el | en_US | fr | hu | it | ja_JP | nl | oc | pt_BR | tr) -lang <%= lang %> +lang <%= @lang %> ## Who is able to create lists ## This parameter is a scenario, check sympa documentation about scenarios if you want to define one @@ -142,11 +142,11 @@ db_name <%= database_name %> db_host <%= database_host %> ## Database user for connexion -db_user <%= database_name %> +db_user <%= @database_name %> ## Database password (associated to the db_user) ## What ever you use a password or not, you must protect the SQL server (is it a not a public internet service ?) -db_passwd <%= database_password %> +db_passwd <%= @database_password %> ## Database private extention to user table ## You need to extend the database format with these fields @@ -159,10 +159,10 @@ db_passwd <%= database_password %> ###\\\\ Web interface ////### ## Sympa's main page URL -wwsympa_url https://<%= subdomain %>.<%= domain %>/wws +wwsympa_url https://<%= @subdomain %>.<%= @domain %>/wws ## SOAP service URL -soap_url https://<%= subdomain %>.<%= domain %>/sympasoap +soap_url https://<%= @subdomain %>.<%= @domain %>/sympasoap ## Supported languages for the user interface supported_lang en_US,pt_BR,es,fr,de @@ -175,5 +175,5 @@ bounce_halt_rate 50 <%- unless logo_html_definition.to_s.empty? then -%> ## Logo -logo_html_definition <%= logo_html_definition %> +logo_html_definition <%= @logo_html_definition %> <%- end %> diff --git a/templates/sympa/transport_regexp.erb b/templates/sympa/transport_regexp.erb index 6323836..0ab655c 100644 --- a/templates/sympa/transport_regexp.erb +++ b/templates/sympa/transport_regexp.erb @@ -1,2 +1,2 @@ -/^.*+owner\@<%= subdomain.gsub(/\./, '\.') %>$/ sympabounce: -/^.*\@<%= subdomain.gsub(/\./, '\.') %>$/ sympa: +/^.*+owner\@<%= @subdomain.gsub(/\./, '\.') %>$/ sympabounce: +/^.*\@<%= @subdomain.gsub(/\./, '\.') %>$/ sympa: diff --git a/templates/sympa/virtual_regexp.erb b/templates/sympa/virtual_regexp.erb index b82b9df..86e82ce 100644 --- a/templates/sympa/virtual_regexp.erb +++ b/templates/sympa/virtual_regexp.erb @@ -1 +1 @@ -/^(.*)-owner\@<%= subdomain.gsub(/\./, '\.') %>$/ $1+owner@<%= subdomain %> +/^(.*)-owner\@<%= @subdomain.gsub(/\./, '\.') %>$/ $1+owner@<%= @subdomain %> |