aboutsummaryrefslogtreecommitdiff
path: root/manifests/unattended_upgrades.pp
blob: 805b0ed44429174d3d0a72c3644096e18724e0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class apt::unattended_upgrades {
  package{'unattended-upgrades':
    ensure => present,
    require => undef,
  }

  config_file {
    "/etc/apt/apt.conf.d/50unattended-upgrades":
    source  => ["puppet:///modules/site-apt/50unattended-upgrades",
		"puppet:///modules/apt/50unattended-upgrades" ],

    before => Config_file[apt_config],
    require => Package['unattended-upgrades'],
  }
}