19 lines
502 B
Puppet
19 lines
502 B
Puppet
class apt::listchanges(
|
|
$ensure_version = 'installed',
|
|
$config = "apt/${::operatingsystem}/listchanges.erb",
|
|
$frontend = 'mail',
|
|
$email = 'root',
|
|
$confirm = '0',
|
|
$saveseen = '/var/lib/apt/listchanges.db',
|
|
$which = 'both'
|
|
){
|
|
package { 'apt-listchanges': ensure => $ensure_version }
|
|
|
|
file { '/etc/apt/listchanges.conf':
|
|
content => template($apt::listchanges::config),
|
|
owner => root,
|
|
group => root,
|
|
mode => '0644',
|
|
require => Package['apt-listchanges'];
|
|
}
|
|
}
|