aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/install_ovh_from_scratch.pp8
-rw-r--r--manifests/site.pp12
2 files changed, 12 insertions, 8 deletions
diff --git a/manifests/install_ovh_from_scratch.pp b/manifests/install_ovh_from_scratch.pp
deleted file mode 100644
index f5224fa..0000000
--- a/manifests/install_ovh_from_scratch.pp
+++ /dev/null
@@ -1,8 +0,0 @@
1node default {
2 include stdlib
3
4 class { 'base_installation':
5 stage => "setup",
6 grub_device => "/dev/sdb",
7 }
8}
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 @@
1node 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}