From d7fc5839204f829b68a8125376a7d405dcd554e0 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 7c0315b7..024e4bbf 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/`)