aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-18 22:44:11 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-10-18 22:44:11 +0200
commitf7ef7ce7f8d596d38739c5e96623e8630e1036ae (patch)
tree86661bb2b31e5bc0c7a6429d7013cf9b2b0684b5 /modules/profile/manifests
parentb08f274f67b8ade7ddb8f092a7ccf3604cd5f4cd (diff)
downloadPuppet-f7ef7ce7f8d596d38739c5e96623e8630e1036ae.tar.gz
Puppet-f7ef7ce7f8d596d38739c5e96623e8630e1036ae.tar.zst
Puppet-f7ef7ce7f8d596d38739c5e96623e8630e1036ae.zip
Fix crontab command % escape
Diffstat (limited to 'modules/profile/manifests')
-rw-r--r--modules/profile/manifests/postgresql/backup_dump.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/manifests/postgresql/backup_dump.pp b/modules/profile/manifests/postgresql/backup_dump.pp
index e247cf0..fcc2085 100644
--- a/modules/profile/manifests/postgresql/backup_dump.pp
+++ b/modules/profile/manifests/postgresql/backup_dump.pp
@@ -49,7 +49,7 @@ define profile::postgresql::backup_dump (
49 description => "Cleanup the database backups", 49 description => "Cleanup the database backups",
50 }, 50 },
51 { 51 {
52 command => "cd $pg_backup_path ; /usr/bin/rm -f $(ls -1 *T22*.sql | log2rotate --skip 7 --fuzz 7 --delete --format='%Y-%m-%dT%H:%M:%S+02:00.sql')", 52 command => "cd $pg_backup_path ; /usr/bin/rm -f $(ls -1 *T22*.sql | log2rotate --skip 7 --fuzz 7 --delete --format='\%Y-\%m-\%dT\%H:\%M:\%S+02:00.sql')",
53 user => $pg_user, 53 user => $pg_user,
54 hour => 3, 54 hour => 3,
55 minute => 1, 55 minute => 1,