aboutsummaryrefslogtreecommitdiff
path: root/manifests/site.pp
blob: 3d40ad29b31a0c3a861a91135d041f1cb9e57383 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
node default {
  lookup('classes').each |$class_name, $class_hash| {
    if empty($class_hash) {
      include $class_name
    } else {
      class { $class_name:
        * => $class_hash
      }
    }

  }
}