Orchestrates and reactors
Change-Id: I9e48e113656dd9f1ce644e98650276b36e444009
diff --git a/README.rst b/README.rst
index edd6208..5f528fd 100644
--- a/README.rst
+++ b/README.rst
@@ -163,7 +163,7 @@
master:
state_output: changes
-Salt Reactor system sample
+Salt synchronise node pillar and modules after start
.. code-block:: yaml
@@ -171,9 +171,25 @@
master:
reactor:
salt/minion/*/start:
- - salt://reactor/minion-started.sls
+ - salt://salt/reactor/node_start.sls
-Run any orchestration pipeline from custom event
+Trigger basic node install
+
+.. code-block:: yaml
+
+ salt:
+ master:
+ reactor:
+ salt/minion/install:
+ - salt://salt/reactor/node_install.sls
+
+Sample event to trigger the node installation
+
+.. code-block:: bash
+
+ salt-call event.send 'salt/minion/install'
+
+Run any orchestration pipeline
.. code-block:: yaml
@@ -183,13 +199,13 @@
salt/orchestrate/start:
- salt://salt/reactor/orchestrate_start.sls
-Sample event to trigger the basic orchestration pipeline
+Event to trigger the orchestration pipeline
.. code-block:: bash
- salt-call event.send 'salt/orchestrate/start' "{'orchestrate': 'salt/orchestrate/infra_install.sls'}
+ salt-call event.send 'salt/orchestrate/start' "{'orchestrate': 'salt/orchestrate/infra_install.sls'}"
-Classify node from custom event
+Classify node after start
.. code-block:: yaml
@@ -199,7 +215,7 @@
reclass/minion/classify:
- salt://reclass/reactor/node_register.sls
-Sample event to trigger the classification
+Event to trigger the node classification
.. code-block:: bash