feat(map): generate a YAML file to validate map.jinja

We provide a new `_mapdata` state which generate a
`/tmp/salt_mapdata_dump.yaml` to be validated by `Inspec`.
This commit is contained in:
Daniel Dehennin
2020-07-30 22:05:24 +02:00
parent 70389b5964
commit e4ab335077
3 changed files with 45 additions and 0 deletions
+7
View File
@@ -230,6 +230,13 @@ To completely disable adding IP addresses::
Manages the system wide ``/etc/ssh/moduli`` file.
``openssh._mapdata``
^^^^^^^^^^^^^^^^^^
Testing state which dumps the ``map.jinja`` values in ``/tmp/salt_mapdata_dump.yaml``.
This state is not called by any include but is mostly used by kitchen and Inspec infrastructure to validate ``map.jinja``.
Testing
-------