apt_update

apt_update

Use the apt_update resource to manage Apt repository updates on Debian and Ubuntu platforms.

Syntax

A apt_update resource block defines the update frequency for Apt repositories:

apt_update 'name' do
  frequency                  Integer
  action                     Symbol # defaults to :periodic if not specified
end

where

  • apt_update is the resource
  • name is the name of the resource block
  • :action identifies the steps the chef-client will take to bring the node into the desired state
  • frequency is a property of this resource, with the Ruby type shown. See “Properties” section below for more information about all of the pr