Puppet Class: profile::apt

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

Summary

wrapper profile for apt module

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • purge_sources (Boolean) (defaults to: lookup('profile::apt::purge_sources'))
  • purge_preferences (Boolean) (defaults to: lookup('profile::apt::purge_preferences'))
  • use_proxy (Boolean) (defaults to: lookup('profile::apt::use_proxy'))
  • manage_apt_source (Boolean) (defaults to: lookup('profile::apt::manage_apt_source'))
  • install_audit_installed (Boolean) (defaults to: lookup('profile::apt::install_audit_installed'))
  • mirror (String) (defaults to: lookup('profile::apt::mirror'))
  • use_private_repo (Boolean) (defaults to: lookup('profile::apt::use_private_repo'))


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

class profile::apt(
    Boolean $purge_sources           = lookup('profile::apt::purge_sources'),
    Boolean $purge_preferences       = lookup('profile::apt::purge_preferences'),
    Boolean $use_proxy               = lookup('profile::apt::use_proxy'),
    Boolean $manage_apt_source       = lookup('profile::apt::manage_apt_source'),
    Boolean $install_audit_installed = lookup('profile::apt::install_audit_installed'),
    String  $mirror                  = lookup('profile::apt::mirror'),
    Boolean $use_private_repo        = lookup('profile::apt::use_private_repo')
) {
    class { 'apt':
        use_proxy               => $use_proxy,
        purge_sources           => $purge_sources,
        purge_preferences       => $purge_preferences,
        manage_apt_source       => $manage_apt_source,
        mirror                  => $mirror,
        install_audit_installed => $install_audit_installed,
        use_private_repo        => $use_private_repo,
    }
    contain apt  # lint:ignore:wmf_styleguide
}