apt_dater
: Install and configure apt-dater
apt_dater::host
: Configure a host in apt-daterapt_dater::hostgroup
: Group host
Install and configure apt-dater
include apt_dater
The following parameters are available in the apt_dater
class:
ensure
manage_tmux_package
export_host
export_config
config_host_path
config_path
collect_hosts
collect_tag
spawn_agent
Data type: Enum['present', 'absent']
Should apt-dater and apt-dater-host be installed?
Default value: 'present'
Data type: Boolean
Sould this class install tmux
Default value: true
Data type: Boolean
Do i need to export this host to be collected?
Default value: true
Data type: Hash[String, Any]
The attribute to pass to the exported host
Default value: {}
Data type: Stdlib::Unixpath
The config file to save the host list
Default value: '/etc/apt-dater/hosts.xml'
Data type: Stdlib::Unixpath
The config file of apt-dater central node
Default value: '/etc/apt-dater/apt-dater.xml'
Data type: Boolean
Should we collect all exported hosts?
Default value: false
Data type: String
The tag to use for the export and the collect
Default value: 'default'
Data type: Boolean
Do apt-dater need to spawn his own agent?
Default value: false
Configure a host in apt-dater
apt_dater::host { 'namevar':
host => 'myserver.mycompany.lan',
user => 'root',
}
The following parameters are available in the apt_dater::host
defined type:
Data type: String
Username used for the SSH connection
Data type: String
Hostname or IP used for the connection
Data type: String[1]
Group of this host
Default value: 'Default Group'
Data type: Enum['present', 'absent']
Should this host be present
Default value: 'present'
Data type: Optional[String[1]]
Comment for this host dicplayed in apt-dater
Default value: undef
Data type: String[1]
Connection type
Default value: 'generic-ssh'
Data type: Integer[1, 65535]
SSH Port
Default value: 22
Data type: Optional[Stdlib::Unixpath]
Identity file to use
Default value: undef
Group host
apt_dater::hostgroup { 'Internal Hosts': }
The following parameters are available in the apt_dater::hostgroup
defined type:
Data type: Optional[String[1]]
the default user of this group
Default value: undef