summaryrefslogtreecommitdiff
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
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'.
-rw-r--r--cloudinit/config/cc_rsyslog.py10
-rw-r--r--cloudinit/sources/__init__.py2
-rw-r--r--doc/rtd/topics/network-config-format-v1.rst2
3 files changed, 7 insertions, 7 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
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index 4b819ce6..a05ca2f6 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -448,7 +448,7 @@ def find_source(sys_cfg, distro, paths, ds_deps, cfg_list, pkg_list, reporter):
# Return an ordered list of classes that match (if any)
def list_sources(cfg_list, depends, pkg_list):
src_list = []
- LOG.debug(("Looking for for data source in: %s,"
+ LOG.debug(("Looking for data source in: %s,"
" via packages %s that matches dependencies %s"),
cfg_list, pkg_list, depends)
for ds_name in cfg_list:
diff --git a/doc/rtd/topics/network-config-format-v1.rst b/doc/rtd/topics/network-config-format-v1.rst
index ce3a1bde..2f8ab54c 100644
--- a/doc/rtd/topics/network-config-format-v1.rst
+++ b/doc/rtd/topics/network-config-format-v1.rst
@@ -349,7 +349,7 @@ For any network device (one of the Config Types) users can define a list of
entries will create interface alias allowing a single interface to use
different ip configurations.
-Valid keys for for ``subnets`` include the following:
+Valid keys for ``subnets`` include the following:
- ``type``: Specify the subnet type.
- ``control``: Specify manual, auto or hotplug. Indicates how the interface