module-apt/manifests/apticron.pp

25 lines
590 B
ObjectPascal
Raw Normal View History

2012-06-06 02:31:15 +02:00
class apt::apticron(
2012-06-14 15:07:29 +02:00
$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 = ''
2012-06-06 02:31:15 +02:00
) {
package { 'apticron': ensure => $ensure_version }
file { '/etc/apticron/apticron.conf':
2012-06-06 02:31:15 +02:00
content => template($apt::apticron::config),
owner => root,
group => root,
mode => '0644',
require => Package['apticron'];
}
}