Puppet Class: roundcube::packages

Inherits:
roundcube::params
Defined in:
manifests/packages.pp

Overview

Parameters:

  • apt_mirror (Any) (defaults to: $roundcube::params::apt_mirror)
  • apt_release (Any) (defaults to: $roundcube::params::apt_release)


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

class roundcube::packages (
  $apt_mirror   = $roundcube::params::apt_mirror,
  $apt_release  = $roundcube::params::apt_release, 
  ) inherits roundcube::params {

  $packagelist = ['roundcube', 'roundcube-core', 'roundcube-plugins']

  apt::pin { 'roundcube':
    packages => 'roundcube*',
    priority => 1001,
    release  => $apt_release,
  }

  package { "roundcube-${roundcube_backend}":
    ensure  => installed,
  }

  package { $packagelist:
    ensure  => installed,
    require => Package["roundcube-${roundcube_backend}"],
  }

}