Re: Change Request: database cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/manifests/services/db.pp b/manifests/services/db.pp
> index 8e7587f..e5a6409 100644
> --- a/manifests/services/db.pp
> +++ b/manifests/services/db.pp
> @@ -52,6 +52,17 @@ class kojiDb inherits postgresServer {
>          source => "system/koji-cleanup-sessions.cron"
>      }
> 
> +    cron { db-cleanup-sessions:
> +        command => "/usr/local/bin/db-cleanup-sessions",
> +        user => postgres,
> +        minute => 10,
> +        ensure => present,
> +    }
> +
> +    script { '/usr/local/bin/db-cleanup-sessions':
> +        source => 'db/db-cleanup-sessions',
> +        require => Package['postgresql8.3-server'],
> +    }
>  }
> 
>  class appDB inherits postgresServer {
+1

Thanks,
Ricky

Attachment: pgpNFcQHb0TqX.pgp
Description: PGP signature

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux