From d61406e8b30c03ee71559a977d0e25da3537aec1 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Wed, 6 Sep 2023 08:47:16 +0200 Subject: [PATCH] puppet_agent formating --- admin-guide/configuration/puppet_agent.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/admin-guide/configuration/puppet_agent.md b/admin-guide/configuration/puppet_agent.md index b57e1b7..00ef09c 100644 --- a/admin-guide/configuration/puppet_agent.md +++ b/admin-guide/configuration/puppet_agent.md @@ -9,14 +9,14 @@ This describes how the Puppet agent can be configured to run at different interv The intervals the Puppet agent runs can be configured in hiera with `puppet_client::run_frequency` Allowed parameters -- 'halfhourly': every 30 minutes (to see the exact time do `systemctl list-timers pli-puppet-run.timer`) +- 'halfhourly': every 30 minutes - 'daily': once a day (default) - 'weekly': every Monday -The daily and weekly Puppet run respect the value set for `puppet_client::exec_time:` +The daily and weekly Puppet run respect the value set for `puppet_client::exec_time` ### Execution Time -The actual automatic Puppet Agent run is always on the same random time. Check ... for the exact time. +The actual automatic Puppet Agent run is always on the same random time. Check `systemctl list-timers pli-puppet-run.timer` for the exact time. For `daily` and `weekly` this time window is configured in Hiera with `puppet_client::exec_time`, the default is: `puppet_client::exec_time: '05:00 -- 08:00'`` @@ -25,18 +25,7 @@ The time format used is '24-hour clock' `HH:MM -- HH:MM` ## Temporarily Disable Automatic Puppet Agent Runs Puppet execution can be disabled for a certain amount of time with the -``/opt/pli/libexec/pli-puppet-disable`` command: :: - - [root@lxdev04 ~]# /opt/pli/libexec/pli-puppet-disable - puppet currently not disabled - [root@lxdev04 ~]# /opt/pli/libexec/pli-puppet-disable '1 week' - [root@lxdev04 ~]# /opt/pli/libexec/pli-puppet-disable - Puppet disabled until: Wed Nov 1 08:00:05 CET 2017 - [root@lxdev04 ~]# /opt/pli/libexec/pli-puppet-disable stop - Stopping - [root@lxdev04 ~]# /opt/pli/libexec/pli-puppet-disable - puppet currently not disabled - [root@lxdev04 ~]# +``/opt/pli/libexec/pli-puppet-disable`` command. The disabling time has to be in the ``date`` format (see date(1)).