Puppet Plan: secure_linux_cis

Defined in:
plans/init.pp

Overview

Parameters:

  • targets (TargetSpec)
  • time_servers (Array[Stdlib::Host]) (defaults to: ['time.google.com'])
  • profile_type (Enum['workstation', 'server']) (defaults to: 'server')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'plans/init.pp', line 1

plan secure_linux_cis(
  TargetSpec $targets,
  Array[Stdlib::Host]           $time_servers = ['time.google.com'],
  Enum['workstation', 'server'] $profile_type = 'server',
) {
  apply_prep($targets)

  $apply_result = apply($targets) {
    class { 'secure_linux_cis':
      time_servers => $time_servers,
      profile_type => $profile_type,
    }
  }

  out::message($apply_result.first.value)
}