17 lines
506 B
Puppet
17 lines
506 B
Puppet
class apt::listchanges(
|
|
$ensure_version = 'installed',
|
|
$config = "apt/${::operatingsystem}/listchanges_${::lsbdistcodename}.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),
|
|
mode => 0644, owner => root, group => root,
|
|
require => Package["apt-listchanges"];
|
|
}
|
|
}
|