blob: 3f451251fdba2ee5fcd5f295709ee26ccd41a54a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
  | 
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'
  }
}
  |