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