Puppet Class: mcollective_agent_dockerinfo

Defined in:
manifests/init.pp

Overview

Parameters:

  • config_name (String)
  • client_files (Array[String]) (defaults to: [])
  • client_directories (Array[String]) (defaults to: [])
  • server_files (Array[String]) (defaults to: [])
  • server_directories (Array[String]) (defaults to: [])
  • common_files (Array[String]) (defaults to: [])
  • common_directories (Array[String]) (defaults to: [])
  • manage_gem_dependencies (Boolean) (defaults to: true)
  • gem_dependencies (Hash) (defaults to: {})
  • manage_package_dependencies (Boolean) (defaults to: true)
  • package_dependencies (Hash) (defaults to: {})
  • manage_class_dependencies (Boolean) (defaults to: true)
  • class_dependencies (Array[String]) (defaults to: [])
  • policy_default (Mcollective::Policy_action) (defaults to: $mcollective::policy_default)
  • policies (Array[Mcollective::Policy]) (defaults to: [])
  • config (Hash) (defaults to: {})
  • client_config (Hash) (defaults to: {})
  • server_config (Hash) (defaults to: {})
  • client (Boolean) (defaults to: $mcollective::client)
  • server (Boolean) (defaults to: $mcollective::server)
  • ensure (Enum["present", "absent"]) (defaults to: "present")


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'manifests/init.pp', line 1

class mcollective_agent_dockerinfo (
  String $config_name,
  Array[String] $client_files = [],
  Array[String] $client_directories = [],
  Array[String] $server_files = [],
  Array[String] $server_directories = [],
  Array[String] $common_files = [],
  Array[String] $common_directories = [],
  Boolean $manage_gem_dependencies = true,
  Hash $gem_dependencies = {},
  Boolean $manage_package_dependencies = true,
  Hash $package_dependencies = {},
  Boolean $manage_class_dependencies = true,
  Array[String] $class_dependencies = [],
  Mcollective::Policy_action $policy_default = $mcollective::policy_default,
  Array[Mcollective::Policy] $policies = [],
  Hash $config = {},
  Hash $client_config = {},
  Hash $server_config = {},
  Boolean $client = $mcollective::client,
  Boolean $server = $mcollective::server,
  Enum["present", "absent"] $ensure = "present"
) {
  mcollective::module_plugin{$name:
    config_name                 => $config_name,
    client_files                => $client_files,
    server_files                => $server_files,
    common_files                => $common_files,
    client_directories          => $client_directories,
    server_directories          => $server_directories,
    common_directories          => $common_directories,
    gem_dependencies            => $gem_dependencies,
    manage_gem_dependencies     => $manage_gem_dependencies,
    package_dependencies        => $package_dependencies,
    manage_package_dependencies => $manage_package_dependencies,
    class_dependencies          => $class_dependencies,
    policy_default              => $policy_default,
    policies                    => $policies,
    config                      => $config,
    client_config               => $client_config,
    server_config               => $server_config,
    client                      => $client,
    server                      => $server,
    ensure                      => $ensure
  }
}