Merge pull request #93 from salt-formulas/andrewp-fix-class-mappings-regression
allow class mappings to match on node name or node path
diff --git a/README-extensions.rst b/README-extensions.rst
index e67e441..da9ce85 100644
--- a/README-extensions.rst
+++ b/README-extensions.rst
@@ -33,7 +33,7 @@
.. code-block:: yaml
ignore_class_notfound: False
- ignore_class_regexp: ['.*']
+ ignore_class_notfound_regexp: ['.*']
If you set regexp pattern to ``service.*`` all missing classes starting 'service.' will be logged with warning, but will not
fail to return rendered reclass. Assuming all parameter interpolation passes.
diff --git a/reclass/storage/yaml_git/__init__.py b/reclass/storage/yaml_git/__init__.py
index 5ce2e37..d9c84cd 100644
--- a/reclass/storage/yaml_git/__init__.py
+++ b/reclass/storage/yaml_git/__init__.py
@@ -42,7 +42,7 @@
return nodes_uri, classes_uri
-GitMD = collections.namedtuple('GitMD', ['name', 'path', 'id'], verbose=False, rename=False)
+GitMD = collections.namedtuple('GitMD', ['name', 'path', 'id'], rename=False)
class GitURI(object):