Ensure that apt-get update runs before all packages

This commit is contained in:
Dan Bode
2013-01-29 23:44:40 -08:00
parent 78842dd23b
commit 06dabf23d3

View File

@@ -30,6 +30,8 @@ exec { '/usr/bin/apt-get update':
logoutput => true,
}
# run the apt get update before any packages are installed!
Exec['/usr/bin/apt-get update'] -> Package<||>
package { 'vim': ensure => present }