Skip to content

Commit

Permalink
Configure mod_vcard for tests with dynamic domains
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Aug 31, 2021
1 parent 3e61c13 commit a475d8f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
15 changes: 5 additions & 10 deletions big_tests/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@
{mod_private, "[modules.mod_private]
backend = \"rdbms\""},
{mod_offline, " backend = \"rdbms\"\n"},
{mod_vcard, "[modules.mod_vcard]
backend = \"rdbms\"
{mod_vcard, " backend = \"rdbms\"
host = \"vjud.@HOST@\""},
{mod_roster, " backend = \"rdbms\"\n"}]},
{odbc_mssql_mnesia,
Expand All @@ -280,8 +279,7 @@
{mod_private, "[modules.mod_private]
backend = \"rdbms\""},
{mod_offline, " backend = \"rdbms\"\n"},
{mod_vcard, "[modules.mod_vcard]
backend = \"rdbms\"
{mod_vcard, " backend = \"rdbms\"
host = \"vjud.@HOST@\""},
{mod_roster, " backend = \"rdbms\"\n"}]},
{mysql_redis,
Expand Down Expand Up @@ -311,8 +309,7 @@
{mod_private, "[modules.mod_private]
backend = \"rdbms\""},
{mod_offline, " backend = \"rdbms\"\n"},
{mod_vcard, "[modules.mod_vcard]
backend = \"rdbms\"
{mod_vcard, " backend = \"rdbms\"
host = \"vjud.@HOST@\""},
{mod_roster, " backend = \"rdbms\"\n"}]},
{ldap_mnesia,
Expand Down Expand Up @@ -346,8 +343,7 @@
{password_format, "password.format = \"scram\""},
{auth_ldap, "ldap.base = \"ou=Users,dc=esl,dc=com\"
ldap.filter = \"(objectClass=inetOrgPerson)\""},
{mod_vcard, "[modules.mod_vcard]
backend = \"ldap\"
{mod_vcard, " backend = \"ldap\"
host = \"vjud.@HOST@\"
ldap_base = \"ou=Users,dc=esl,dc=com\"
ldap_filter = \"(objectClass=inetOrgPerson)\""}]},
Expand Down Expand Up @@ -378,8 +374,7 @@
{mod_private, "[modules.mod_private]
backend = \"riak\""},
{mod_offline, " backend = \"riak\"\n"},
{mod_vcard, "[modules.mod_vcard]
backend = \"riak\"
{mod_vcard, " backend = \"riak\"
host = \"vjud.@HOST@\""},
{mod_roster, " backend = \"riak\"\n"}
]},
Expand Down
2 changes: 1 addition & 1 deletion rel/files/mongooseim.toml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
[modules.mod_sic]

{{#mod_vcard}}
[modules.mod_vcard]
{{{mod_vcard}}}

{{/mod_vcard}}
[modules.mod_bosh]

Expand Down
6 changes: 5 additions & 1 deletion rel/mim1.vars-toml.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@
{{#mod_blocking}}
[host_config.modules.mod_blocking]
{{{mod_blocking}}}
{{/mod_blocking}}"}.
{{/mod_blocking}}
{{#mod_vcard}}
[host_config.modules.mod_vcard]
{{{mod_vcard}}}
{{/mod_vcard}}"}.
{password_format, "password.format = \"scram\"
password.hash = [\"sha256\"]"}.
{scram_iterations, 64}.
Expand Down
3 changes: 1 addition & 2 deletions rel/vars-toml.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
{mod_blocking, ""}.
{mod_private, "[modules.mod_private]"}.
{mod_roster, ""}.
{mod_vcard, "[modules.mod_vcard]
host = \"vjud.@HOST@\""}.
{mod_vcard, " host = \"vjud.@HOST@\""}.
{sm_backend, "\"mnesia\""}.
{auth_method, "\"internal\""}.
{cyrsasl_external, "\"standard\""}.
Expand Down

0 comments on commit a475d8f

Please sign in to comment.