Only run autoreboot in test
This commit is contained in:
parent
ed764ad8fd
commit
58a2b4f041
1 changed files with 8 additions and 8 deletions
|
@ -75,12 +75,14 @@ class sunetdrive::multinode (
|
|||
content => template('sunetdrive/multinode/prune.erb.sh'),
|
||||
mode => '0744',
|
||||
}
|
||||
cron { 'multinode_prune':
|
||||
command => '/opt/nextcloud/prune.sh',
|
||||
require => File['/opt/nextcloud/prune.sh'],
|
||||
user => 'root',
|
||||
minute => '25',
|
||||
hour => '3',
|
||||
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,
|
||||
|
@ -188,8 +190,6 @@ MACAddressPolicy=none'
|
|||
$customer_config = $customer_config_full[$environment]
|
||||
$dbhost = "mariadb-${customer}_db_1"
|
||||
|
||||
|
||||
|
||||
$gs_enabled = hiera('gs_enabled')
|
||||
$gs_federation = hiera('gs_federation')
|
||||
$gss_master_admin = hiera_array('gss_master_admin')
|
||||
|
|
Loading…
Add table
Reference in a new issue