X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=blobdiff_plain;f=manifests%2Fsite.pp;fp=manifests%2Fsite.pp;h=f922d2b665f0c0782f0c25510b43b4a5afd00a5f;hp=0000000000000000000000000000000000000000;hb=1508e956adaa97b7a82c27537f4b124266dacdf0;hpb=0b62a18bd9fc4ecd614526a9c0e3f1f17e2ce4fe 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 @@ +node default { + lookup('classes', Hash, 'deep').each |$class_name, $class_hash| { + if empty($class_hash) { + include $class_name + } else { + class { $class_name: + * => $class_hash + } + } + + } +}