> 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: pgpkCI5E4RrT5.pgp
Description: PGP signature

_______________________________________________
Fedora-infrastructure-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

Reply via email to