ensure => 'absent',
}
- exec { 'dpkg list':
- command => 'dpkg-query -W -f \'${Package}\n\' > /var/lib/misc/thishost/pkglist',
- creates => '/var/lib/misc/thishost/pkglist',
- }
-
exec { 'apt-get update':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
onlyif => '/usr/local/bin/check_for_updates',