aboutsummaryrefslogtreecommitdiff
path: root/manifests/listchanges.pp
blob: 41944639f7bc518974012056dc32007770df69b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"];
  }
}