The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

AgentApt

Introduction

An agent to handle apt/dpkg tasks such as finding the total number of upgrades available, listing the total number of packages installed, or executing an ‘apt-get clean’ or ‘apt-get update’.

Installation

Usage

Update

# mc-apt update
Do you really want to operate on services unfiltered? (y/n): y
server01.example.com                                : OK
server02.example.com                                : OK
server03.example.com                                : OK
server04.example.com                                : OK
server05.example.com                                : OK

Clean

# mc-apt clean
Do you really want to operate on services unfiltered? (y/n): y
server01.example.com                                : OK
server02.example.com                                : OK
server03.example.com                                : OK
server04.example.com                                : OK
server05.example.com                                : OK

Installed

# mc-apt installed
Do you really want to operate on services unfiltered? (y/n): y
server01.example.com                                : 755
server02.example.com                                : 832
server03.example.com                                : 744
server04.example.com                                : 755
server05.example.com                                : 832

Upgrades

# mc-apt upgrades
Do you really want to operate on services unfiltered? (y/n): y
server01.example.com                                : 57
server02.example.com                                : 19
server03.example.com                                : 0
server04.example.com                                : 0
server05.example.com                                : 0