Puppet Class: approx::garbage_collect

Defined in:
manifests/garbage_collect.pp

Overview

Cronjob to run approx-gc

Remark approx-gc is not available in newer versions of approx See: bugs.debian.org/cgi-bin/bugreport.cgi?bug=861947



7
8
9
10
11
12
13
14
15
16
# File 'manifests/garbage_collect.pp', line 7

class approx::garbage_collect (
) {

  cron { 'approx-gc':
    command => '/usr/sbin/approx-gc -q',
    user    => 'root',
    hour    => fqdn_rand(6,'approx-gc'),
    minute  => fqdn_rand(60,'approx-gc'),
  }
}