u4woig
Last Updated: February 25, 2016
·
1.381K
· markusherzog
Markus deutch

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 <| |>
Say Thanks
Respond

1 Response
Add your response

15094
88dcd9a1b56c02e905ac3a352e43ba81

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

over 1 year ago ·
Filed Under