]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - manifests/install_ovh.pp
Refactor base installation module
[perso/Immae/Projets/Puppet.git] / manifests / install_ovh.pp
diff --git a/manifests/install_ovh.pp b/manifests/install_ovh.pp
deleted file mode 100644 (file)
index a5adf44..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-node default {
-    include stdlib
-
-    stage { 'base_configuration':
-      before => Stage['main']
-    }
-    stage { 'base_installation':
-      before => Stage['base_configuration']
-    }
-    stage { 'preparation':
-      before => Stage['base_installation']
-    }
-
-    class { 'etckeeper':
-      stage => 'preparation'
-    }
-    class { 'ovh_cleanup':
-      stage => 'preparation'
-    }
-    etckeeper::run { 'post_preparation_stage':
-      reason => "Post puppet preparation stage",
-      stages => [Stage['preparation']]
-    }
-
-    class { 'base_packages':
-      stage => "base_installation"
-    }
-    etckeeper::run { 'post_base_installation_stage':
-      reason => "Post puppet base installation stage",
-      stages => [Stage['base_installation']]
-    }
-
-    class { 'locales':
-      stage => "base_configuration"
-    }
-    class { 'cron_puppet':
-      stage => "base_configuration"
-    }
-    class { 'base_configuration':
-      stage => "base_configuration",
-      hostname => 'new.immae.eu'
-    }
-    etckeeper::run { 'post_base_configuration_stage':
-      reason => "Post puppet base configuration stage",
-      stages => [Stage['base_configuration']]
-    }
-
-    class { 'aur': }
-
-    reboot { 'after_run':
-      apply   => 'finished',
-      timeout => 0
-    }
-}