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

  apt_conf { "50unattended-upgrades":
    source  => ["puppet:///modules/site-apt/50unattended-upgrades",
		"puppet:///modules/apt/50unattended-upgrades" ],

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