mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
pg_backup_and_purge.py: Remove .py extension.
This commit is contained in:
@@ -43,12 +43,12 @@ class zulip::postgres_common {
|
||||
require => Package["postgresql-${zulip::base::postgres_version}"],
|
||||
}
|
||||
|
||||
file { "/usr/local/bin/pg_backup_and_purge.py":
|
||||
file { "/usr/local/bin/pg_backup_and_purge":
|
||||
ensure => file,
|
||||
owner => "root",
|
||||
group => "postgres",
|
||||
mode => 754,
|
||||
source => "puppet:///modules/zulip/postgresql/pg_backup_and_purge.py",
|
||||
source => "puppet:///modules/zulip/postgresql/pg_backup_and_purge",
|
||||
require => File["/usr/local/bin/env-wal-e"],
|
||||
}
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@ class zulip_ops::postgres_common {
|
||||
}
|
||||
|
||||
cron { "pg_backup_and_purge":
|
||||
command => "/usr/local/bin/pg_backup_and_purge.py",
|
||||
command => "/usr/local/bin/pg_backup_and_purge",
|
||||
ensure => present,
|
||||
environment => "PATH=/bin:/usr/bin:/usr/local/bin",
|
||||
hour => 5,
|
||||
minute => 0,
|
||||
target => "postgres",
|
||||
user => "postgres",
|
||||
require => [ File["/usr/local/bin/pg_backup_and_purge.py"],
|
||||
require => [ File["/usr/local/bin/pg_backup_and_purge"],
|
||||
Package["postgresql-${zulip::base::postgres_version}",
|
||||
"python3-dateutil",
|
||||
"python-dateutil"
|
||||
|
||||
Reference in New Issue
Block a user