proxysql.conf gor prod
This commit is contained in:
parent
4963afd5f6
commit
03808354f3
|
@ -84,14 +84,6 @@ class sunetdrive::multinode (
|
|||
content => template('sunetdrive/multinode/prune.erb.sh'),
|
||||
mode => '0744',
|
||||
}
|
||||
if $environment == 'test' {
|
||||
cron { 'multinode_prune':
|
||||
command => '/opt/nextcloud/prune.sh',
|
||||
require => File['/opt/nextcloud/prune.sh'],
|
||||
user => 'root',
|
||||
minute => '25',
|
||||
hour => '4',
|
||||
}
|
||||
file { '/opt/proxysql/proxysql.cnf':
|
||||
ensure => file,
|
||||
force => true,
|
||||
|
@ -100,6 +92,14 @@ class sunetdrive::multinode (
|
|||
content => template('sunetdrive/multinode/proxysql.cnf.erb'),
|
||||
mode => '0644',
|
||||
}
|
||||
if $environment == 'test' {
|
||||
cron { 'multinode_prune':
|
||||
command => '/opt/nextcloud/prune.sh',
|
||||
require => File['/opt/nextcloud/prune.sh'],
|
||||
user => 'root',
|
||||
minute => '25',
|
||||
hour => '4',
|
||||
}
|
||||
}
|
||||
file { '/opt/nextcloud/apache.php.ini':
|
||||
ensure => file,
|
||||
|
|
Loading…
Reference in a new issue