class apt::cron::dist_upgrade inherits apt::cron::base { $action = "autoclean -y dist-upgrade -y -o APT::Get::Show-Upgraded=true -o 'DPkg::Options::=--force-confold' " file { "/etc/cron-apt/action.d/3-download": ensure => absent, } package { "apt-listbugs": ensure => absent } file { "/etc/cron-apt/action.d/4-dist-upgrade": content => $action, require => Package[cron-apt], owner => root, group => 0, mode => 0644; } file { "/etc/cron-apt/config.d/MAILON": content => "MAILON=upgrade\n", require => Package[cron-apt], owner => root, group => 0, mode => 0644; } }