blob: f922d2b665f0c0782f0c25510b43b4a5afd00a5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
node default {
lookup('classes', Hash, 'deep').each |$class_name, $class_hash| {
if empty($class_hash) {
include $class_name
} else {
class { $class_name:
* => $class_hash
}
}
}
}
|