]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blob - manifests/install_ovh.pp
Adapt timeout value for shutdown
[perso/Immae/Projets/Puppet.git] / manifests / install_ovh.pp
1 node default {
2 include stdlib
3
4 stage { 'base_configuration':
5 before => Stage['main']
6 }
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 }
39 class { 'base_configuration':
40 stage => "base_configuration",
41 hostname => 'new.immae.eu'
42 }
43 etckeeper::run { 'post_base_configuration_stage':
44 reason => "Post puppet base configuration stage",
45 stages => [Stage['base_configuration']]
46 }
47
48 class { 'aur': }
49
50 reboot { 'after_run':
51 apply => 'finished',
52 timeout => 0
53 }
54 }