summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authoraRkadeFR <contact@arkade.info>2018-01-23 15:48:56 -0500
committerScott Moser <smoser@ubuntu.com>2018-01-24 10:02:47 -0500
commitdf182de41fd75bc0cf2b1de2b511c37527d45475 (patch)
tree611f723db5e10dc8b5cbc87c23b12dc8692a228f /cloudinit/config
parentb28ab78089d362c5c6cab985feee0f5f84c9db44 (diff)
downloadvyos-cloud-init-df182de41fd75bc0cf2b1de2b511c37527d45475.tar.gz
vyos-cloud-init-df182de41fd75bc0cf2b1de2b511c37527d45475.zip
docs: Fix typos in docs and one debug message.
Fix obvious typos. Replace 'for for' with a 'for'.
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_rsyslog.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cloudinit/config/cc_rsyslog.py b/cloudinit/config/cc_rsyslog.py
index 50ff9e35..af08788c 100644
--- a/cloudinit/config/cc_rsyslog.py
+++ b/cloudinit/config/cc_rsyslog.py
@@ -20,15 +20,15 @@ which defaults to ``20-cloud-config.conf``. The rsyslog config directory to
write config files to may be specified in ``config_dir``, which defaults to
``/etc/rsyslog.d``.
-A list of configurations for for rsyslog can be specified under the ``configs``
-key in the ``rsyslog`` config. Each entry in ``configs`` is either a string or
-a dictionary. Each config entry contains a configuration string and a file to
+A list of configurations for rsyslog can be specified under the ``configs`` key
+in the ``rsyslog`` config. Each entry in ``configs`` is either a string or a
+dictionary. Each config entry contains a configuration string and a file to
write it to. For config entries that are a dictionary, ``filename`` sets the
target filename and ``content`` specifies the config string to write. For
config entries that are only a string, the string is used as the config string
to write. If the filename to write the config to is not specified, the value of
-the ``config_filename`` key is used. A file with the selected filename will
-be written inside the directory specified by ``config_dir``.
+the ``config_filename`` key is used. A file with the selected filename will be
+written inside the directory specified by ``config_dir``.
The command to use to reload the rsyslog service after the config has been
updated can be specified in ``service_reload_command``. If this is set to