Forge Home

apt_dater

Manage the `apt-dater` and `apt-dater-host` package and configuration files

446 downloads

89 latest version

5.0 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.

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Jun 3rd 2024
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'capsi-apt_dater', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add capsi-apt_dater
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install capsi-apt_dater --version 1.0.3

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

capsi/apt_dater — version 1.0.3 Jun 3rd 2024

apt_dater

Manage the apt-dater and apt-dater-host package and configuration files.

Table of Contents

  1. Description
  2. What apt_dater affects
  3. Usage
  4. Limitations - OS compatibility, etc.

Description

Briefly tell users why they might want to use your module. Explain what your module does and what kind of problems users can solve with it.

This should be a fairly short description helps the user decide if your module is what they want.

What apt_dater affects

This module install apt-dater-host on managed Debian machines and apt-dater on a central node to perform update from a single point.

Usage

Managed nodes

On managed node you can export the host to the central node via the Puppet Store Config functionality.

You can export the host yourself with de defined type apt_dater::host or let the module do it for you:

class { 'apt_dater':
  ensure        => 'present',
  export_host   => true,
  export_config => {
     user  => 'update_user',
     group => 'Databases',
  },
  collect_tag  => 'production', 
}

Central node

To collect all exported nodes on the central update node, you can use this:

class { 'apt_dater':
  ensure         => 'present',
  export_host    => true,
  export_config  => {
     user  => 'root',
     host  => 'localhost',
     group => 'Management',
  },
  collect_hosts => true,
  collect_tag   => 'production', 
}

Limitations

Only Debian-like operating systems are supported as apt-dater is tied to aptitude/apt package manager.