Puppet Class: sys::apt::update
- Defined in:
- manifests/apt/update.pp
Overview
Class: sys::apt::update
This class creates an ‘exec` resource, named “apt-update” that may be used to receive notifications prior to package installation.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/apt/update.pp', line 6
class sys::apt::update(
$exec_name = 'apt-update',
$logoutput = 'on_failure',
$refreshonly = true,
$timeout = undef,
) {
include sys::apt
exec { $exec_name:
command => $sys::apt::update,
logoutput => $logoutput,
refreshonly => $refreshonly,
timeout => $timeout,
}
}
|