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