From 2d6b361915f7ed23a7baa92da648b720282e7bbb Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Fri, 13 May 2022 10:21:04 +0200 Subject: [PATCH] example how to get node information from Puppet server --- admin-guide/puppet/client.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/admin-guide/puppet/client.rst b/admin-guide/puppet/client.rst index 441dcd2a..66cd4700 100644 --- a/admin-guide/puppet/client.rst +++ b/admin-guide/puppet/client.rst @@ -1,6 +1,9 @@ Puppet client ------------- +regular automatic Puppet client runs +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Puppet client run is executed once daily between 5AM and 8AM (``puppet_client::exec_time`` in hiera data). @@ -15,6 +18,9 @@ The puppet client is executed via the ``pli-puppet-run`` system timer: :: 2 timers listed. Pass --all to see loaded but inactive timers, too. +temporarily disable automatic Puppet client runs +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Puppet execution can be disabled for a certain amount of time with the ``/opt/pli/libexec/pli-puppet-disable`` command: :: @@ -31,6 +37,10 @@ Puppet execution can be disabled for a certain amount of time with the The disabling time has to be in the ``date`` format (see date(1)). + +manually retrieve host information from Puppet +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + To manually check the node information on the Puppet server for given host, do :: FQDN=$(hostname --fqdn)