module-apt/manifests/apticron.pp
2012-06-14 10:07:29 -03:00

22 lines
573 B
Puppet

class apt::apticron(
$ensure_version = 'installed',
$config = "apt/${::operatingsystem}/apticron_${::lsbdistcodename}.erb",
$email = 'root',
$diff_only = '1',
$listchanges_profile = 'apticron',
$system = false,
$ipaddressnum = false,
$ipaddresses = false,
$notifyholds = '0',
$notifynew = '0',
$customsubject = ''
) {
package { apticron: ensure => $ensure_version }
file { "/etc/apticron/apticron.conf":
content => template($apt::apticron::config),
mode => 0644, owner => root, group => root,
require => Package["apticron"];
}
}