Puppet Class: lacework
- Defined in:
- manifests/init.pp
Summary
This class is used to install the Lacework Agent onto a target machineOverview
This class will install the Lacework agent onto a target machine. At a minimum, you must provide the access key to be used by the agent.
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'manifests/init.pp', line 69
class lacework (
String $access_token,
Enum['https://api.lacework.net',
'https://api.fra.lacework.net',
'https://auprodn1.agent.lacework.net'] $agent_server_url = 'https://api.lacework.net',
String $package_ensure = 'present',
String $service_ensure = 'running',
Boolean $pkg_manage_sources = true,
Optional[Hash[String, String]] $config_tags,
Optional[String] $cmdlinefilter_allow,
Optional[String] $cmdlinefilter_disallow,
Optional[Array[String]] $fim_filepath,
Optional[Array[String]] $fim_fileignore,
Optional[Boolean] $fim_noatime,
Optional[String] $fim_runat,
Optional[String] $fim_mode,
Optional[String] $container_engine_endpoint,
Optional[String] $proxyurl,
Optional[String] $perfmode,
Optional[String] $cpulimit,
Optional[String] $memlimit,
Optional[String] $auto_upgrade,
) {
class { 'lacework::files':
access_token => $access_token,
agent_server_url => $agent_server_url,
config_tags => $config_tags,
proxyurl => $proxyurl,
cmdlinefilter_allow => $cmdlinefilter_allow,
cmdlinefilter_disallow => $cmdlinefilter_disallow,
fim_filepath => $fim_filepath,
fim_fileignore => $fim_fileignore,
fim_noatime => $fim_noatime,
fim_mode => $fim_mode,
fim_runat => $fim_runat,
container_engine_endpoint => $container_engine_endpoint,
perfmode => $perfmode,
cpulimit => $cpulimit,
memlimit => $memlimit,
auto_upgrade => $auto_upgrade,
}
class { 'lacework::pkg':
pkg_manage_sources => $pkg_manage_sources,
}
contain lacework::service
Class['lacework::files']
-> Class['lacework::pkg']
-> Class['lacework::service']
}
|