From 66db5acc32e57640389a15acaa32b4b7c7122b14 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Fri, 1 Feb 2019 17:49:14 +0100 Subject: [PATCH] Updated the man pages for the cdist trigger and preos --- docs/src/cdist-preos.rst | 4 ++-- docs/src/cdist-trigger.rst | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/src/cdist-preos.rst b/docs/src/cdist-preos.rst index 7364c389..74c86f37 100644 --- a/docs/src/cdist-preos.rst +++ b/docs/src/cdist-preos.rst @@ -26,7 +26,7 @@ For example, to create ubuntu PreOS: $ cdist preos ubuntu /preos/preos-ubuntu -b -C \ -k ~/.ssh/id_rsa.pub -p /preos/pxe-ubuntu \ - -t "/usr/bin/curl 192.168.111.5:3000/install/" + -t "/usr/bin/curl 192.168.111.5:3000/cdist/install/" For more info about available options see cdist manual page. @@ -156,7 +156,7 @@ Tipical use case for using PreOS and trigger command include the following steps $ cdist preos ubuntu /preos/ubuntu -b -C \ -k ~/.ssh/id_rsa.pub -p /preos/pxe \ - -t "/usr/bin/curl 192.168.111.5:3000/install/" + -t "/usr/bin/curl 192.168.111.5:3000/cdist/install/" #. Configure dhcp server and tftp server. diff --git a/docs/src/cdist-trigger.rst b/docs/src/cdist-trigger.rst index 94477c29..93e9d920 100644 --- a/docs/src/cdist-trigger.rst +++ b/docs/src/cdist-trigger.rst @@ -13,8 +13,10 @@ This command starts trigger server at management node, for example: This will start cdist trigger server in verbose mode. cdist trigger server accepts simple requests for configuration and for installation: -* :strong:`/cdist/install/.*` for installation -* :strong:`/cdist/config/.*` for configuration. +* :strong:`/cdist/install/` for installation +* :strong:`/cdist/config/` for configuration. + +Other configuration parameters are the same as in like cdist config (See `cdist `_). Machines can then trigger cdist trigger server with appropriate requests. If the request is, for example, for installation (:strong:`/cdist/install/`)