bump version 1.7.0
Signed-off-by: Petr Michalec <epcim@apealive.net>
diff --git a/README-extensions.rst b/README-extensions.rst
index da9ce85..7b537cf 100644
--- a/README-extensions.rst
+++ b/README-extensions.rst
@@ -691,3 +691,38 @@
storage_type: yaml_fs
# options for yaml_fs storage type
uri: /srv/salt/env/pre-prod/classes
+
+
+Support to use current node parameters as references in class name
+------------------------------------------------------------------
+
+With the following reclass config:
+
+.. code-block::
+
+ => /etc/reclass/nodes/mynode.yml
+ classes:
+ - common
+ parameters:
+ project: myproject
+
+ => /etc/reclass/classes/common.yml
+ class:
+ - ${project}
+
+ => /etc/reclass/classes/myproject.yml
+ parameters:
+ some:
+ project: parameters
+
+
+Will get the following result for the parameters:
+
+.. code-block:: yaml
+
+ parameters:
+ project: myproject
+ some:
+ project: parameters
+
+
diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst
index dccf34f..249b0a4 100644
--- a/doc/source/changelog.rst
+++ b/doc/source/changelog.rst
@@ -5,6 +5,10 @@
========= ========== ========================================================
Version Date Changes
========= ========== ========================================================
+1.7.0 2020-10-02 Fixes and few new features:
+ * Allow class mappings to wildcard match against either the node name and class
+ * Support for .yaml along with .yml
+ * Support to use current node parameters as references in class name
1.6.0 2018-11-06 * Python code and parser refactoring by a-ovchinnikov
* Improvements in yaml_git and mixed setup by Andrew Pickford
* Relative paths in class names by Petr Michalec, Martin Polreich and Andrew Pickford
diff --git a/reclass/version.py b/reclass/version.py
index 5a40c2e..7077418 100644
--- a/reclass/version.py
+++ b/reclass/version.py
@@ -14,7 +14,7 @@
RECLASS_NAME = 'reclass'
DESCRIPTION = ('merge data by recursive descent down an ancestry hierarchy '
'(forked extended version)')
-VERSION = '1.6.0'
+VERSION = '1.7.0'
AUTHOR = 'martin f. krafft / Andrew Pickford / salt-formulas community'
AUTHOR_EMAIL = 'salt-formulas@freelists.org'
MAINTAINER = 'salt-formulas community'