APT-DATER(5) | Config File Manual | APT-DATER(5) |
apt-dater.xml - configuration file of apt-dater(8)
<apt-dater xmlns:xi="http://www.w3.org/2001/XInclude">
<ssh spawn-agent="true">
<add-key fn="/path/to/id_rsa1"/>
<add-key fn="/path/to/id_rsa2"/>
</ssh>
<paths hosts-file="path-to/hosts.xml" stats-dir="path-to/stats"/>
<history
record="true" err-pattern="((?<!no )error|warning|fail)"/> </apt-dater>
The file apt-dater.xml is the configuration file for apt-dater(8). apt-dater(8) is a program to manage package updates on a large number of remote hosts using SSH. This man page descripes briefly the parameters of the file apt-dater.xml. The default location of this file is $XDG_CONFIG_HOME/apt-dater/apt-dater.xml.
The configuration file is parsed using libxml2 and supports Xincludes.
hosts-file="$XDG_CONFIG_HOME/apt-dater/hosts.xml"
stats-dir="$XDG_DATA_HOME/apt-dater"
rc-file="$XDG_CONFIG_HOME/apt-dater/screenrc"
title="%m # %u@%h:%p"
no-dumps="false"
query-maintainer="false"
cmd="/usr/bin/ssh
sftp-cmd
opt-cmd-flags
spawn-agent="false"
add-keys
apt-dater will try to load additional private SSH keys using ssh-add(1) during start. Those keys needs to be listed as add-key child elements. The attribute fn refers to the filename of the private key:
<ssh spawn-agent="false" ..>
<add-key fn="/path/to/id_rsa1"/> </ssh>
CmdRefresh="apt-dater-host refresh"
CmdUpgrade="apt-dater-host upgrade"
CmdInstall="apt-dater-host install %s"
colors
.
Components are:
Colors are:
enabled="true"
beep="true"
flash="true"
err-pattern="((?<!no )error|warning|fail)"
record="true"
pre-update="/etc/apt-dater/pre-upg.d", pre-refresh="/etc/apt-dater/pre-ref.d", pre-install="/etc/apt-dater/pre-ins.d", pre-connect="/etc/apt-dater/pre-con.d", post-update="/etc/apt-dater/post-upg.d", post-refresh="/etc/apt-dater/post-ref.d", post-install="/etc/apt-dater/post-ins.d", post-connect="/etc/apt-dater/post-con.d"
apt-dater(8) provides an string escape mechanism. The escape character is '%'.
.sp
Table 1. List of supported escapes.
escape | replaced by |
% | escape character |
h | hostname |
H | SSH hostname used for connecting |
m | maintainer name |
p | SSH port number |
u | SSH username |
U | SSH username appended by '@', empty string if no SSH username is configured. |
apt-dater.xml
hosts.xml
apt-dater(8), apt-get(1), debtrack, screen(1), script(1), ssh(1), XDG Base Directory Specification[1].
Thomas Liske <liske@ibh.de>
Andre Ellguth
Copyright © 2008-2015 IBH IT-Service GmbH [https://www.ibh.de/]
February 28, 2015 | apt-dater |