Last Updated: February 25, 2016
·
2.15K
· markusherzog

apt-get update before any package installs

runs apt-get update before any package installs on puppet:

exec { "apt-update":
    command => "/usr/bin/apt-get update"
}
Exec["apt-update"] -> Package <| |>

1 Response
Add your response

You could also
class { 'apt': always_apt_update => true, }

over 1 year ago ·