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 <| |>
Written by Markus Herzog
Related protips
1 Response
You could also
class { 'apt':
always_apt_update => true,
}
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Puppet
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#