Puppet Class: yum::clean
- Defined in:
- manifests/clean.pp
Overview
Class for invalidating the Yum caches.
12 13 14 15 16 17 18 19 20 21 22 |
# File 'manifests/clean.pp', line 12
class yum::clean {
if ! defined(Class['::yum']) {
fail('You must include the yum base class before using the yum::clean class')
}
exec { "yum clean --enablerepo='*' all":
path => $::path,
refreshonly => true,
}
}
|