[Piuparts-commits] [piuparts] 01/01: slave_stop.8: Add new manpage for this new script, also update slave_run.8 to mention slave_stop.8.
Holger Levsen
holger at layer-acht.org
Mon Mar 6 13:28:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 7526e0cc20dd8a1403a0d8a4cd3e94b78da478ed
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 6 14:28:44 2017 +0100
slave_stop.8: Add new manpage for this new script, also update slave_run.8 to mention slave_stop.8.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
Makefile | 8 ++++++--
debian/changelog | 2 ++
debian/piuparts-slave.manpages | 1 +
piuparts_slave_run.8.txt | 4 ++--
piuparts_slave_stop.8.txt | 43 ++++++++++++++++++++++++++++++++++++++++++
5 files changed, 54 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 3a7046d..6bf7f49 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ endif
SCRIPTS_TEMPLATES = $(wildcard *.in master-bin/*.in slave-bin/*.in conf/*.in)
SCRIPTS_PYTHON_BINARY = $(wildcard *.py master-bin/*.py slave-bin/*.py)
SCRIPTS_GENERATED = $(SCRIPTS_TEMPLATES:.in=) $(SCRIPTS_PYTHON_BINARY:.py=)
-DOCS_GENERATED = piuparts.1 piuparts.1.html piuparts_slave_run.8 piuparts_slave_join.8 README.html README_server.html
+DOCS_GENERATED = piuparts.1 piuparts.1.html piuparts_slave_run.8 piuparts_slave_join.8 piuparts_slave_stop.8 README.html README_server.html
define placeholder_substitution
sed -r \
@@ -70,6 +70,9 @@ piuparts_slave_run.8: piuparts_slave_run.8.txt
piuparts_slave_join.8: piuparts_slave_join.8.txt
a2x -f manpage piuparts_slave_join.8.txt
+piuparts_slave_stop.8: piuparts_slave_stop.8.txt
+ a2x -f manpage piuparts_slave_stop.8.txt
+
piuparts.1.html: piuparts.1.txt
a2x --copy -f xhtml piuparts.1.txt
@@ -79,10 +82,11 @@ install-doc: build-stamp
install -d $(DESTDIR)$(man1dir)
install -m 0644 piuparts.1 $(DESTDIR)$(man1dir)/
install -d $(DESTDIR)$(man8dir)
- install -m 0644 piuparts_slave_run.8 piuparts_slave_join.8 $(DESTDIR)$(man8dir)/
+ install -m 0644 piuparts_slave_run.8 piuparts_slave_join.8 piuparts_slave_stop.8 $(DESTDIR)$(man8dir)/
gzip -9f $(DESTDIR)$(man1dir)/piuparts.1
gzip -9f $(DESTDIR)$(man8dir)/piuparts_slave_run.8
gzip -9f $(DESTDIR)$(man8dir)/piuparts_slave_join.8
+ gzip -9f $(DESTDIR)$(man8dir)/piuparts_slave_stop.8
install -m 0644 piuparts.1.html $(DESTDIR)$(docdir)/
install-conf: build-stamp
diff --git a/debian/changelog b/debian/changelog
index 115f5bb..b29f374 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -59,6 +59,8 @@ piuparts (0.76) UNRELEASED; urgency=medium
this optional argument is an integer and within the defined maximum number
of slaves.
* slave_stop: New script to stop all piuparts-slaves on a host.
+ * slave_stop.8: Add new manpage for this new script, also update slave_run.8
+ to mention slave_stop.8.
* Update README_pejacevic.txt and README_server.txt.
* Drop instances/piuparts.conf.lamarr and …/piuparts.conf.goldwasser.
* htdocs/index.tpl:
diff --git a/debian/piuparts-slave.manpages b/debian/piuparts-slave.manpages
index 52b889d..15f2fb7 100644
--- a/debian/piuparts-slave.manpages
+++ b/debian/piuparts-slave.manpages
@@ -1,2 +1,3 @@
debian/tmp/usr/share/man/man8/piuparts_slave_run.8.gz
debian/tmp/usr/share/man/man8/piuparts_slave_join.8.gz
+debian/tmp/usr/share/man/man8/piuparts_slave_stop.8.gz
diff --git a/piuparts_slave_run.8.txt b/piuparts_slave_run.8.txt
index c8f5502..b4dadd5 100644
--- a/piuparts_slave_run.8.txt
+++ b/piuparts_slave_run.8.txt
@@ -1,7 +1,7 @@
piuparts_slave_run(8)
=====================
:doctype: manpage
-:revdate: 2013-05-27
+:revdate: 2017-03-06
NAME
----
@@ -39,7 +39,7 @@ Make sure to also read */usr/share/doc/piuparts-master/README_server.txt*.
SEE ALSO
--------
-*piuparts*(1), *piuparts_slave_join*(8), *screen*(1)
+*piuparts*(1), *piuparts_slave_join*(8), *piuparts_slave_stop*(8), *screen*(1)
AUTHOR
------
diff --git a/piuparts_slave_stop.8.txt b/piuparts_slave_stop.8.txt
new file mode 100644
index 0000000..6c78310
--- /dev/null
+++ b/piuparts_slave_stop.8.txt
@@ -0,0 +1,43 @@
+piuparts_slave_stop(8)
+======================
+:doctype: manpage
+:revdate: 2017-03-06
+
+NAME
+----
+piuparts_slave_stop - stop all running piuparts-slaves on a host.
+
+SYNOPSIS
+--------
+*piuparts_slave_stop*
+
+DESCRIPTION
+-----------
+*piuparts_slave_stop* gracefully stops all running piuparts-slaves sessions
+on a host. Gracefully means that it asks the slaves to stop running and
+will patiently wait until all the piuparts-slaves have done so.
+
+If more immediate action is required, use *piuparts_slave_join* and manual
+force instead.
+
+OPTIONS
+-------
+There are no options to this command.
+
+ENVIRONMENT
+-----------
+Running piuparts in master-slave mode requires configuration in _/etc/piuparts_.
+
+NOTES
+-----
+Make sure to also read */usr/share/doc/piuparts-master/README_server.txt*.
+
+SEE ALSO
+--------
+*piuparts*(1), *piuparts_slave_join*(8)
+
+AUTHOR
+------
+Holger Levsen (holger at layer-acht.org)
+
+// vim: set filetype=asciidoc:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list