Skip to content

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

Notifications You must be signed in to change notification settings

capsi-informatique/puppet-apt_dater

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published