X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fglance%2Fmanifests%2Fcache%2Fpruner.pp;fp=3rdparty%2Fmodules%2Fglance%2Fmanifests%2Fcache%2Fpruner.pp;h=0000000000000000000000000000000000000000;hb=6e1426dc77fb4e5d51f07c187c6f2219431dc31e;hp=96e135fb21a01a05ca091ba40072129815f90e07;hpb=87423ba664cd5f2bb462ebadd08b1a90d0fe1c8d;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/glance/manifests/cache/pruner.pp b/3rdparty/modules/glance/manifests/cache/pruner.pp deleted file mode 100644 index 96e135fb2..000000000 --- a/3rdparty/modules/glance/manifests/cache/pruner.pp +++ /dev/null @@ -1,50 +0,0 @@ -# == Class: glance::cache::pruner -# -# Installs a cron job to run glance-cache-pruner. -# -# === Parameters -# -# [*minute*] -# (optional) Defaults to '*/30'. -# -# [*hour*] -# (optional) Defaults to '*'. -# -# [*monthday*] -# (optional) Defaults to '*'. -# -# [*month*] -# (optional) Defaults to '*'. -# -# [*weekday*] -# (optional) Defaults to '*'. -# -# [*command_options*] -# command options to add to the cronjob -# (eg. point to config file, or redirect output) -# (optional) Defaults to ''. -# -class glance::cache::pruner ( - $minute = '*/30', - $hour = '*', - $monthday = '*', - $month = '*', - $weekday = '*', - $command_options = '', -) { - - include glance::params - - cron { 'glance-cache-pruner': - command => "${glance::params::cache_pruner_command} ${command_options}", - environment => 'PATH=/bin:/usr/bin:/usr/sbin', - user => 'glance', - minute => $minute, - hour => $hour, - monthday => $monthday, - month => $month, - weekday => $weekday, - require => Package[$::glance::params::api_package_name], - - } -}