aboutsummaryrefslogtreecommitdiff
path: root/manifests/update.pp
blob: 9c773abc6f92999dc2b76250eee9d2634553f89a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class apt::update {

  exec { 'update_apt':
    command => '/usr/bin/apt-get update && /usr/bin/apt-get autoclean',
    require => [ File['/etc/apt/apt.conf.d', '/etc/apt/preferences' ],
                 File['/etc/apt/sources.list'] ],
    loglevel => info,
    # Another Semaphor for all packages to reference
    alias => "apt_updated"
  }

}