module-apt/manifests/listchanges.pp

20 lines
523 B
ObjectPascal
Raw Normal View History

2012-06-06 02:31:15 +02:00
class apt::listchanges(
2012-06-14 15:07:29 +02:00
$ensure_version = 'installed',
$config = "apt/${::operatingsystem}/listchanges_${::lsbdistcodename}.erb",
$frontend = 'mail',
$email = 'root',
$confirm = '0',
$saveseen = '/var/lib/apt/listchanges.db',
$which = 'both'
2012-06-06 02:31:15 +02:00
){
package { 'apt-listchanges': ensure => $ensure_version }
file { '/etc/apt/listchanges.conf':
2012-06-06 02:31:15 +02:00
content => template($apt::listchanges::config),
owner => root,
group => root,
mode => '0644',
require => Package['apt-listchanges'];
}
}