Puppet Class: zram_generator::install

Defined in:
manifests/install.pp

Summary

Install zram-generator pacakge

Overview

Parameters:

  • install_defaults (Enum['installed', 'absent']) (defaults to: $zram_generator::install_defaults)
  • manage_defaults_package (Boolean) (defaults to: $zram_generator::manage_defaults_package)


4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/install.pp', line 4

class zram_generator::install (
  Enum['installed', 'absent'] $install_defaults = $zram_generator::install_defaults,
  Boolean $manage_defaults_package = $zram_generator::manage_defaults_package,
) {
  if $manage_defaults_package {
    package { 'zram-generator-defaults':
      ensure => $install_defaults,
    }
  }

  package { 'zram-generator':
    ensure => installed,
  }
}