Puppet Class: proxmox::packages

Defined in:
manifests/packages.pp

Overview



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/packages.pp', line 3

class proxmox::packages {
  file { '/etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg':
    ensure => 'present',
    source => 'http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg',
    owner  => 'root',
    group  => 'root',
    mode   => '0644'
  }
->apt::source { 'proxmox':
    ensure   => 'present',
    comment  => 'This is the proxmox stable repo',
    location => 'http://download.proxmox.com/debian/pve',
    release  => 'buster',
    repos    => 'pve-no-subscription',
    notify   => Class['apt::update'],
  }

~>exec { 'apt-full-upgrade':
    command     => '/usr/bin/apt full-upgrade -y',
    refreshonly => true,
    require     => Exec['apt_update'],
  }

}