Forge Home

apt_listchanges

Simple module to install and manage apt-listchanges

6,067 downloads

6,067 latest version

4.3 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.0 (latest)
released Feb 20th 2018
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet 4.X

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'baldurmen-apt_listchanges', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add baldurmen-apt_listchanges
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install baldurmen-apt_listchanges --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

baldurmen/apt_listchanges — version 1.0.0 Feb 20th 2018

apt_listchanges

Description

This is a simple module to install and configure apt-listchanges for you.

Usage

The simplest way to use this module is this way:

include apt_listchanges

A more advanced example might look like:

class {'apt_listchanges':
  ensure   => present,
  confirm  => false,
  frontend => 'mail',
  email    => 'foo@bar.com',
  saveseen => `/var/lib/apt/listchanges.db`,
  which    => 'both';
}

Parameters

The following parameters are available in the apt_listchanges class:

ensure

Optional.

Data type: Enum.

This parameter can take two different values:

  • present
  • absent

If set to present, this module will install apt-listchanges and configure it. If set from present to absent, apt-listchanges and its configuration will be removed.

Default value: present.

frontend

Optional.

Data type: Enum.

The type of frontend you want apt-listchanges to use. This parameter can take one of these values:

  • pager
  • browser
  • xterm-pager
  • xterm-browser
  • text
  • mail
  • gtk
  • none

Default value: mail.

email

Optional.

Data type: String.

If you use the mail frontend, this parameters tells apt-listchanges what email to use.

Default value: root.

confirm

Optional.

Data type: Boolean.

Once changelogs have been displayed, ask the user whether or not to proceed.

Default value: false.

saveseen

Optional.

Data type: String.

Path to the file where the apt-listchanges database of seen packages is stored.

Default value: /var/lib/apt/listchanges.db.

which

Optional.

Data type: Enum.

This parameter takes three different values:

  • news
  • changelogs
  • both

This option selects whether news, changelogs or both should be displayed.

Default valuue: both.

Limitations

This module was developed for Debian Stretch and Puppet 4. Compatibility on other OS or Puppet versions is not guaranteed.