aboutsummaryrefslogtreecommitdiff
path: root/manifests/install_ovh.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/install_ovh.pp')
-rw-r--r--manifests/install_ovh.pp45
1 files changed, 41 insertions, 4 deletions
diff --git a/manifests/install_ovh.pp b/manifests/install_ovh.pp
index d1e109f..581e289 100644
--- a/manifests/install_ovh.pp
+++ b/manifests/install_ovh.pp
@@ -1,13 +1,50 @@
1node default { 1node default {
2 include stdlib 2 include stdlib
3 3
4 class { 'ovh_cleanup': } 4 stage { 'base_configuration':
5 class { 'base_packages': } 5 before => Stage['main']
6 class { 'locales': } 6 }
7 class { 'cron_puppet': } 7 stage { 'base_installation':
8 before => Stage['base_configuration']
9 }
10 stage { 'preparation':
11 before => Stage['base_installation']
12 }
13
14 class { 'etckeeper':
15 stage => 'preparation'
16 }
17 class { 'ovh_cleanup':
18 stage => 'preparation'
19 }
20 etckeeper::run { 'post_preparation_stage':
21 reason => "Post puppet preparation stage",
22 stages => [Stage['preparation']]
23 }
24
25 class { 'base_packages':
26 stage => "base_installation"
27 }
28 etckeeper::run { 'post_base_installation_stage':
29 reason => "Post puppet base installation stage",
30 stages => [Stage['base_installation']]
31 }
32
33 class { 'locales':
34 stage => "base_configuration"
35 }
36 class { 'cron_puppet':
37 stage => "base_configuration"
38 }
8 class { 'base_configuration': 39 class { 'base_configuration':
40 stage => "base_configuration",
9 hostname => 'new.immae.eu' 41 hostname => 'new.immae.eu'
10 } 42 }
43 etckeeper::run { 'post_base_configuration_stage':
44 reason => "Post puppet base configuration stage",
45 stages => [Stage['base_configuration']]
46 }
47
11 class { 'aur': } 48 class { 'aur': }
12 49
13 reboot { 'after_run': 50 reboot { 'after_run':