aboutsummaryrefslogtreecommitdiff
path: root/manifests/install_ovh.pp
blob: 581e289affe811ecaa46b71a33be516e9040b57c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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'
    }
}