Puppet Class: proxmox

Defined in:
manifests/init.pp

Overview



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/init.pp', line 9

class proxmox {

  # Make sure the module is run on a debian 10
  if( $facts['os']['name'] != 'Debian' or $facts['os']['release']['major'] != '10' ) {
    fail('This modules only works on Debian 10 "buster"')
  }

  contain proxmox::packages # Setup the puppet repo and do another full-upgrade
  contain proxmox::install # Actually install ProxmoxVE and reboots
  contain proxmox::cleanup # Remove mainline linux kernel

  Class['proxmox::packages']
->Class['proxmox::install']
->Class['proxmox::cleanup']
}