listchanges.pp 523 B

12345678910111213141516171819
  1. class apt::listchanges(
  2. $ensure_version = 'installed',
  3. $config = "apt/${::operatingsystem}/listchanges_${::debian_codename}.erb",
  4. $frontend = 'mail',
  5. $email = 'root',
  6. $confirm = '0',
  7. $saveseen = '/var/lib/apt/listchanges.db',
  8. $which = 'both'
  9. ){
  10. package { 'apt-listchanges': ensure => $ensure_version }
  11. file { '/etc/apt/listchanges.conf':
  12. content => template($apt::listchanges::config),
  13. owner => root,
  14. group => root,
  15. mode => '0644',
  16. require => Package['apt-listchanges'];
  17. }
  18. }