From a942487f303a82e5ad080610cd35328aa1a20535 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 24 Dec 2024 10:36:42 +0100 Subject: [PATCH] Add new option --- manifests/proxysql.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/proxysql.pp b/manifests/proxysql.pp index 4926870..c75edeb 100644 --- a/manifests/proxysql.pp +++ b/manifests/proxysql.pp @@ -4,6 +4,7 @@ class sunetdrive::proxysql ( $location = undef, $proxysql_container_name = 'proxysql_proxysql_1', $manage_config = true, + $manage_network = true, ) { # Config from group.yaml @@ -26,7 +27,7 @@ class sunetdrive::proxysql ( $mysql_user = safe_hiera('mysql_user') $transaction_persistent = 1 - if $::facts['dockerhost2'] == 'yes' { + if $::facts['dockerhost2'] == 'yes' and $manage_network { $hostnet = true }