]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - manifests/install_ovh_from_scratch.pp
Install OVH vps from scratch
[perso/Immae/Projets/Puppet.git] / manifests / install_ovh_from_scratch.pp
diff --git a/manifests/install_ovh_from_scratch.pp b/manifests/install_ovh_from_scratch.pp
new file mode 100644 (file)
index 0000000..4888cfc
--- /dev/null
@@ -0,0 +1,20 @@
+node default {
+    include stdlib
+
+    stage { 'base_configuration': }
+    stage { 'base_packages': }
+    Stage["setup"]
+      -> Stage['base_packages']
+      -> Stage['base_configuration']
+      -> Stage['main']
+    class { 'base_packages':
+      stage => "base_packages"
+    }
+    class { 'base_configuration':
+      stage     => "base_configuration",
+      code_path => "/etc/puppetlabs/code",
+      device    => "/dev/sdb",
+      hostname  => 'new.immae.eu',
+    }
+}