From 2935feb648f7945175ebd11a243155ab088a8efe Mon Sep 17 00:00:00 2001 From: nfagerlund Date: Fri, 27 May 2011 16:00:17 -0700 Subject: (#7707) Document signals in puppet agent and puppet master help Previously, the signals accepted by the agent and master daemons were only documented in the configuration reference, which didn't make any particular sense. This commit moves their documentation to a blurb in the relevant man pages. This is a doc string only commit. --- lib/puppet/application/agent.rb | 12 ++++++++++++ lib/puppet/application/master.rb | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb index fc8616817..e8f2f1bc5 100644 --- a/lib/puppet/application/agent.rb +++ b/lib/puppet/application/agent.rb @@ -281,6 +281,18 @@ EXAMPLE $ puppet agent --server puppet.domain.com +DIAGNOSTICS +----------- + +Puppet agent accepts the following signals: + +* SIGHUP: + Restart the puppet agent daemon. +* SIGINT and SIGTERM: + Shut down the puppet agent daemon. +* SIGUSR1: + Immediately retrieve and apply configurations from the puppet master. + AUTHOR ------ Luke Kanies diff --git a/lib/puppet/application/master.rb b/lib/puppet/application/master.rb index a90829ae0..18425c8bc 100644 --- a/lib/puppet/application/master.rb +++ b/lib/puppet/application/master.rb @@ -102,6 +102,16 @@ EXAMPLE ------- puppet master +DIAGNOSTICS +----------- + +When running as a standalone daemon, puppet master accepts the +following signals: + +* SIGHUP: + Restart the puppet master server. +* SIGINT and SIGTERM: + Shut down the puppet master server. AUTHOR ------ -- cgit