reset_apt

Cleans the apt package lists and gets a fresh package list.

Manaaki Whenua

landcareresearch

8,384 downloads

8,384 latest version

4.3 quality score

Version information

  • 1.0.4 (latest)
released Mar 3rd 2015
This version is compatible with:
  • Ubuntu

Start using this module

Documentation

landcareresearch/reset_apt — version 1.0.4 Mar 3rd 2015

reset_apt puppet module

Puppet Forge Bitbucket Build Status

About

This module clears the downloaded package list generated by apt-get (apt-get cache) and downloads a fresh package list. This module ensures the package manager is using the most up to date packages from the repositories. Note, the module only clears the cache once. Subsequent runs this module will not clear the cache.

Installation

The module can be obtained from the Puppet Forge. The easiest method for installation is to use the puppet-module tool. Run the following command from your modulepath:

puppet-module install conzar/reset_apt

Requirements

Usage

The basic usage is shown below.

  class { 'reset_apt': }

Limitations

Only works with redhat & debian based OS's.

Development

The module is open source and available on github. Please fork!