mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
An organization with at most 5 users that is behind on payments isn't worth spending time on investigating the situation. For larger organizations, we likely want somewhat different logic that at least does not void invoices.
36 lines
962 B
Puppet
36 lines
962 B
Puppet
class zulip_ops::prod_app_frontend_once {
|
|
include zulip::app_frontend_once
|
|
|
|
file { '/etc/cron.d/update-first-visible-message-id':
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip/cron.d/calculate-first-visible-message-id',
|
|
}
|
|
|
|
file { '/etc/cron.d/invoice-plans':
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip/cron.d/invoice-plans',
|
|
}
|
|
|
|
file { '/etc/cron.d/downgrade-small-realms-behind-on-payments':
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip/cron.d/downgrade-small-realms-behind-on-payments',
|
|
}
|
|
|
|
file { '/etc/cron.d/check_send_receive_time':
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
mode => '0644',
|
|
source => 'puppet:///modules/zulip_ops/cron.d/check_send_receive_time',
|
|
}
|
|
}
|