From 03808354f38652853a4f77f199def39562ba1ac6 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 13 Mar 2023 18:54:36 +0100 Subject: [PATCH] proxysql.conf gor prod --- manifests/multinode.pp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifests/multinode.pp b/manifests/multinode.pp index 4c0d636..874da06 100644 --- a/manifests/multinode.pp +++ b/manifests/multinode.pp @@ -84,6 +84,14 @@ class sunetdrive::multinode ( content => template('sunetdrive/multinode/prune.erb.sh'), mode => '0744', } + file { '/opt/proxysql/proxysql.cnf': + ensure => file, + force => true, + owner => 'root', + group => 'root', + content => template('sunetdrive/multinode/proxysql.cnf.erb'), + mode => '0644', + } if $environment == 'test' { cron { 'multinode_prune': command => '/opt/nextcloud/prune.sh', @@ -92,14 +100,6 @@ class sunetdrive::multinode ( minute => '25', hour => '4', } - file { '/opt/proxysql/proxysql.cnf': - ensure => file, - force => true, - owner => 'root', - group => 'root', - content => template('sunetdrive/multinode/proxysql.cnf.erb'), - mode => '0644', - } } file { '/opt/nextcloud/apache.php.ini': ensure => file,