diff options
Diffstat (limited to 'manifests/install_ovh_from_scratch.pp')
-rw-r--r-- | manifests/install_ovh_from_scratch.pp | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/manifests/install_ovh_from_scratch.pp b/manifests/install_ovh_from_scratch.pp index 4888cfc..f5224fa 100644 --- a/manifests/install_ovh_from_scratch.pp +++ b/manifests/install_ovh_from_scratch.pp | |||
@@ -1,20 +1,8 @@ | |||
1 | node default { | 1 | node default { |
2 | include stdlib | 2 | include stdlib |
3 | 3 | ||
4 | stage { 'base_configuration': } | 4 | class { 'base_installation': |
5 | stage { 'base_packages': } | 5 | stage => "setup", |
6 | Stage["setup"] | 6 | grub_device => "/dev/sdb", |
7 | -> Stage['base_packages'] | ||
8 | -> Stage['base_configuration'] | ||
9 | -> Stage['main'] | ||
10 | |||
11 | class { 'base_packages': | ||
12 | stage => "base_packages" | ||
13 | } | ||
14 | class { 'base_configuration': | ||
15 | stage => "base_configuration", | ||
16 | code_path => "/etc/puppetlabs/code", | ||
17 | device => "/dev/sdb", | ||
18 | hostname => 'new.immae.eu', | ||
19 | } | 7 | } |
20 | } | 8 | } |