From c3545d3164aca636da1ace812a5cd7b307215795 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 10 Feb 2022 13:54:44 +0100 Subject: [PATCH] fix all table errors --- admin-guide/architecture/networking.rst | 2 +- .../puppet/profiles/icinga/checks/nvidia.rst | 2 +- .../profiles/icinga/checks/puppet_client.rst | 4 ++-- .../puppet/profiles/icinga/checks/service.rst | 7 ++++--- admin-guide/puppet/profiles/icinga/nrpe.rst | 20 +++++++++---------- admin-guide/puppet/profiles/ssh_client.rst | 2 +- rhel8/configuration.md | 2 -- 7 files changed, 19 insertions(+), 20 deletions(-) diff --git a/admin-guide/architecture/networking.rst b/admin-guide/architecture/networking.rst index 6b05c0ae..9bf07b82 100644 --- a/admin-guide/architecture/networking.rst +++ b/admin-guide/architecture/networking.rst @@ -29,7 +29,7 @@ use the internal one. Source Destination (internal) Destination (external) Ports Purpose ------- ----------------------- ---------------------- ------------- -------------------- any puppet00 puppet00 8080, 8140 Puppet -any repo00 repo00 80, 443 Software Packages +any repo00 repo00 80, 443 Software Packages ======= ======================= ====================== ============= ==================== diff --git a/admin-guide/puppet/profiles/icinga/checks/nvidia.rst b/admin-guide/puppet/profiles/icinga/checks/nvidia.rst index 24566abb..3d73b72f 100644 --- a/admin-guide/puppet/profiles/icinga/checks/nvidia.rst +++ b/admin-guide/puppet/profiles/icinga/checks/nvidia.rst @@ -16,7 +16,7 @@ Parameters ---------- ================== ========== ============================================================= -**Name** **Type** **Default** +**Name** **Type** **Default** ------------------ ---------- ------------------------------------------------------------- ================== ========== ============================================================= diff --git a/admin-guide/puppet/profiles/icinga/checks/puppet_client.rst b/admin-guide/puppet/profiles/icinga/checks/puppet_client.rst index 104b8ef4..68bd429b 100644 --- a/admin-guide/puppet/profiles/icinga/checks/puppet_client.rst +++ b/admin-guide/puppet/profiles/icinga/checks/puppet_client.rst @@ -11,9 +11,9 @@ Parameters ---------- ================== ========== ============================================================= -**Name** **Type** **Default** +**Name** **Type** **Default** ------------------ ---------- ------------------------------------------------------------- -puppet_environment String hiera('icinga::checks::options::puppet_environment',**prod**) +puppet_environment String hiera('icinga::checks::options::puppet_environment',**prod**) ================== ========== ============================================================= ``puppet_environment`` diff --git a/admin-guide/puppet/profiles/icinga/checks/service.rst b/admin-guide/puppet/profiles/icinga/checks/service.rst index 2149cf09..a99ab78d 100644 --- a/admin-guide/puppet/profiles/icinga/checks/service.rst +++ b/admin-guide/puppet/profiles/icinga/checks/service.rst @@ -1,5 +1,5 @@ ``profile::icinga::checks::service`` -========================================== +==================================== This class will configure Nagios checks for one or more ``systemctl`` services. This can be done by setting a list of services with the ``icinga::checks::service::list`` *hiera* setting. ``check_service`` is the @@ -10,16 +10,17 @@ Parameters ---------- ===================== ========== ========================================================================= -**Name** **Type** **Default** +**Name** **Type** **Default** --------------------- ---------- ------------------------------------------------------------------------- service_list Array ``'icinga::checks::service::list'``, defaults to ``'[]'`` ===================== ========== ========================================================================= ``service_list`` -~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~ The default value is an empty ``Array`` (``'[]'``). Hence, no ``systemctl`` services are checked. This value can be overwritten with a list of services. In example:: + icinga::checks::service::list: - ntpd - postfix diff --git a/admin-guide/puppet/profiles/icinga/nrpe.rst b/admin-guide/puppet/profiles/icinga/nrpe.rst index eb96450f..bb526f75 100644 --- a/admin-guide/puppet/profiles/icinga/nrpe.rst +++ b/admin-guide/puppet/profiles/icinga/nrpe.rst @@ -1,5 +1,5 @@ ``profile::icinga::nrpe`` -========================== +========================= This profile is a function that configures ``nrpe`` and ``sudoers`` (whenever needed) for a specific command: * Will create a ``/etc/nrpe.d/.cfg`` file for ``nrpe`` @@ -8,16 +8,16 @@ This profile is a function that configures ``nrpe`` and ``sudoers`` (whenever ne Parameters ---------- -================= ========== ========================================================= -**Name** **Type** **Default** ------------------ ---------- --------------------------------------------------------- -command String -sudo Boolean ``false`` -notifications_enabled Boolean ``true`` -================= ========== ========================================================= +====================== ========== ========================================================= +**Name** **Type** **Default** +---------------------- ---------- --------------------------------------------------------- +command String +sudo Boolean ``false`` +notifications_enabled Boolean ``true`` +====================== ========== ========================================================= ``command`` -~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~ Full path for the command to be configured in the ``nrpe.d`` file. This will be translated in the ``nrpe.d`` as:: @@ -29,7 +29,7 @@ in the ``nrpe.d`` as:: command[${title}]=${command} ``sudo`` -~~~~~~~~~ +~~~~~~~~ Whether ``sudo`` is required or not for that command. By default is ``false``. When set to ``true``, ``/usr/bin/sudo`` will be added to the ``nrpe`` command, and proper diff --git a/admin-guide/puppet/profiles/ssh_client.rst b/admin-guide/puppet/profiles/ssh_client.rst index ce1a4ff7..53803f9c 100644 --- a/admin-guide/puppet/profiles/ssh_client.rst +++ b/admin-guide/puppet/profiles/ssh_client.rst @@ -13,7 +13,7 @@ Parameters **Name** **Type** **Default** ---------------------- -------- --------------------------------------------- allowed_hosts string '\*.psi.ch' -canonicalize_hostname bool false +canonicalize_hostname bool false forward_x11 bool ====================== ======== ============================================= diff --git a/rhel8/configuration.md b/rhel8/configuration.md index aae2a025..53d7890e 100644 --- a/rhel8/configuration.md +++ b/rhel8/configuration.md @@ -949,5 +949,3 @@ An example of how to use this role (with variables passed in as parameters). - psi.yfs psi_yfs_size: 2147483648 ``` - ----