sibelius nfs on public net
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_server.pp
index 95fe38c..a5361b1 100644 (file)
@@ -45,7 +45,7 @@ class postgres::backup_server {
        concat::fragment { 'dsa-puppet-stuff--postgres-make_base_backups':
                target => '/etc/cron.d/dsa-puppet-stuff',
                content  => @("EOF")
-                       */30 * * * * debbackup sleep \$(( RANDOM \\% 1200 )); chronic ${$postgres::backup_server::globals::make_base_backups}
+                       */30 * * * * debbackup sleep $(( RANDOM \% 1200 )); chronic ${$postgres::backup_server::globals::make_base_backups}
                        | EOF
        }
 
@@ -102,16 +102,7 @@ class postgres::backup_server {
                notify => Exec['update dsa-check-backuppg-manual.conf']
        }
        file { '/etc/dsa/postgresql-backup/dsa-check-backuppg.conf.d/moszumanska.conf':
-               ensure => ($::hostname in [backuphost]) ? {
-                               true    => 'absent',
-                               default => 'present'
-                       },
-               content  => @(EOF),
-                               --- 
-                               backups:
-                                 moszumanska:
-                                   main:
-                               | EOF
+               ensure => 'absent',
                notify => Exec['update dsa-check-backuppg-manual.conf']
        }
        File<<| tag == $postgres::backup_server::globals::tag_dsa_check_backupp |>>