Allow classes to be namespaced with subdirectories
Classes files may now reside in subdirectories, which act as namespaces.
For instance, a class ``ssh.server`` will result in the class definition
to be read from ``ssh/server.yml``. Specifying just ``ssh`` will cause
the class data to be read from ``ssh/init.yml`` or ``ssh.yml``. Note,
however, that only one of those two may be present.
Signed-off-by: martin f. krafft <madduck@madduck.net>
diff --git a/examples/nodes/localhost.yml b/examples/nodes/localhost.yml
index 2b2612e..45f712e 100644
--- a/examples/nodes/localhost.yml
+++ b/examples/nodes/localhost.yml
@@ -1,5 +1,5 @@
classes:
- - unixnode
+ - node.unix
- mysite
environment: testing
parameters: