cdist-type__xymon_config(7)

cdist-type__xymon_config7

Deploy a xymon configuration-directory

Overview

This cdist type deploys a full Xymon configuration directory from the files-dir to the host. This type requires an installed Xymon server, e.g. deployed by __xymon_server.

WARNING: This type _replaces_ the /etc/xymon/-directory! The previous contents is replaced/deleted!

Required parameters

confdir

The directory in ./files/ that contains the /etc/xymon/-content to be deployed.

Optional parameters

owner

passed as-is as --owner to __rsync

group

passed as-is as --group to __rsync

Optional multiple parameters

rsync-opts

identical to __rsync type, only ---options are supported

Required files

The directory specified by confdir has to contain a valid xymon-configuration (/etc/xymon/) _plus_ the ext/-directory that normally resides in /usr/lib/xymon/server/.

Examples

__xymon_config --confdir=xymon.example.com
# this will replace /etc/xymon/ on the target host with
# the contents from __xymon_config/files/xymon.example.com/
## the same but set ownership to `xymon:xymon` and exclude
## the `netrc`-file:
__xymon_config --confdir=xymon.example.com \
   --owner xymon --group xymon \
   --rsync-opts "exclude=netrc"

Copying

Copyright (C) 2018-2019 Thomas Eckert. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Authors

Thomas Eckert <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.