1508e95
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 } } } }