1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
cc_rsyslog:
description: |
This module configures remote system logging using rsyslog.
Configuration for remote servers can be specified in ``configs``, but for
convenience it can be specified as key-value pairs in ``remotes``.
This module can install rsyslog if not already present on the system using
the ``install_rsyslog``, ``packages``, and ``check_exe`` options.
Installation may not work on systems where this module runs before
networking is up.
.. note::
On BSD, cloud-init will attempt to disable and stop the base system
syslogd. This may fail on a first run. We recommend creating images
with ``service syslogd disable``.
examples:
- comment: |
Example 1:
file: cc_rsyslog/example1.yaml
- comment: |
Example 2:
file: cc_rsyslog/example2.yaml
- comment: |
Example 3: Default (no) configuration with package installation on FreeBSD.
file: cc_rsyslog/example3.yaml
name: Rsyslog
title: Configure system logging via rsyslog
|