- From: Larry Wright <
>
- To:
- Subject: [chef] Re: chefonic way to do apt-get update
- Date: Sat, 30 Jun 2012 08:31:24 -0500
I'm not sure what you're goal is with that, but if it's just to ensure that it's run regularly, check out the Opscode apt cookbook: https://github.com/opscode-cookbooks/apt
It ensures that apt-get update is run at least once per day.
Argonaut Labs, LLC
On Saturday, June 30, 2012 at 8:21 AM, David Montgomery wrote:
Hi,
what is the chef way for running apt-get update in a recipe?
for now I am using:
execute "apt_update" do
command "apt-get update"
action :run
end
Archive powered by MHonArc 2.6.16.