u4woig
Last Updated: February 25, 2016
·
1.526K
· 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

15094

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

over 1 year ago ·