2012-10-16 22:11:11 +00:00
|
|
|
==================
|
|
|
|
Master Tops System
|
|
|
|
==================
|
|
|
|
|
|
|
|
In 0.10.4 the `external_nodes` system was upgraded to allow for modular
|
|
|
|
subsystems to be used to generate the top file data for a highstate run on
|
|
|
|
the master.
|
|
|
|
|
|
|
|
The old `external_nodes` option still works, but will be removed in the
|
|
|
|
future in favor of the new `master_tops` option which uses the modular
|
|
|
|
system instead. The master tops system contains a number of subsystems that
|
|
|
|
are loaded via the Salt loader interfaces like modules, states, returners,
|
|
|
|
runners, etc.
|
|
|
|
|
2012-10-18 04:39:25 +00:00
|
|
|
Using the new `master_tops` option is simple:
|
2012-10-16 22:11:11 +00:00
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
master_tops:
|
|
|
|
ext_nodes: cobbler-external-nodes
|
2013-06-26 11:38:37 +00:00
|
|
|
|
2013-09-04 12:42:14 +00:00
|
|
|
for :doc:`Cobbler <../../ref/tops/all/salt.tops.cobbler>` or:
|
2013-06-26 11:38:37 +00:00
|
|
|
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
master_tops:
|
|
|
|
reclass:
|
|
|
|
inventory_base_uri: /etc/reclass
|
|
|
|
classes_uri: roles
|
2013-09-04 12:42:14 +00:00
|
|
|
|
|
|
|
for :doc:`Reclass <../../ref/tops/all/salt.tops.reclass_adapter>`.
|