Manage the apt-dater
and apt-dater-host
package and configuration files.
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.
This module install apt-dater-host
on managed Debian machines and apt-dater
on a central node to perform update from
a single point.
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',
}
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',
}
Only Debian-like operating systems are supported as apt-dater is tied to aptitude/apt package manager.