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,