Add new option
This commit is contained in:
parent
67b72f387a
commit
a942487f30
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ class sunetdrive::proxysql (
|
||||||
$location = undef,
|
$location = undef,
|
||||||
$proxysql_container_name = 'proxysql_proxysql_1',
|
$proxysql_container_name = 'proxysql_proxysql_1',
|
||||||
$manage_config = true,
|
$manage_config = true,
|
||||||
|
$manage_network = true,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# Config from group.yaml
|
# Config from group.yaml
|
||||||
|
@ -26,7 +27,7 @@ class sunetdrive::proxysql (
|
||||||
$mysql_user = safe_hiera('mysql_user')
|
$mysql_user = safe_hiera('mysql_user')
|
||||||
|
|
||||||
$transaction_persistent = 1
|
$transaction_persistent = 1
|
||||||
if $::facts['dockerhost2'] == 'yes' {
|
if $::facts['dockerhost2'] == 'yes' and $manage_network {
|
||||||
$hostnet = true
|
$hostnet = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue