diff options
Diffstat (limited to 'manifests/site.pp')
-rw-r--r-- | manifests/site.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/site.pp b/manifests/site.pp new file mode 100644 index 0000000..f922d2b --- /dev/null +++ b/manifests/site.pp | |||
@@ -0,0 +1,12 @@ | |||
1 | node default { | ||
2 | lookup('classes', Hash, 'deep').each |$class_name, $class_hash| { | ||
3 | if empty($class_hash) { | ||
4 | include $class_name | ||
5 | } else { | ||
6 | class { $class_name: | ||
7 | * => $class_hash | ||
8 | } | ||
9 | } | ||
10 | |||
11 | } | ||
12 | } | ||