Skip to content

Instantly share code, notes, and snippets.

@mgagne
Created July 23, 2013 19:26
Show Gist options
  • Save mgagne/6065388 to your computer and use it in GitHub Desktop.
Save mgagne/6065388 to your computer and use it in GitHub Desktop.
class glance::cache::cleaner (
$minute = 1,
$hour = 0,
) {
include glance::params
cron { 'glance-cache-cleaner':
command => $glance::params::cache_cleaner_command,
environment => 'PATH=/bin:/usr/bin:/usr/sbin',
user => 'glance',
minute => $minute,
hour => $hour,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment