Puppet Class: profile::libraryupgrader

Defined in:
modules/profile/manifests/libraryupgrader.pp

Overview

Parameters:

  • base_dir (Stdlib::Unixpath) (defaults to: lookup('profile::libraryupgrader::base_dir'))


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

class profile::libraryupgrader (
    Stdlib::Unixpath $base_dir = lookup('profile::libraryupgrader::base_dir'),
) {

    ferm::conf { 'docker-preserve':
        ensure => present,
        prio   => 20,
        source => 'puppet:///modules/libraryupgrader/ferm/docker-preserve.conf',
    }

    ferm::service { 'libraryupgrader':
        proto  => 'tcp',
        port   => '3002',
        srange => '$CACHES',
    }

    class { '::libraryupgrader':
        base_dir => $base_dir,
    }
}