Puppet Class: glogging::agent
- Defined in:
- manifests/agent.pp
Overview
Installs the Google Cloud Logging Agent to the machine.
For more details please visit:
https://cloud.google.com/logging/docs/agent/installation
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 |
# File 'manifests/agent.pp', line 5
class glogging::agent(
$credential_file = undef,
) {
case $::facts['os']['family'] {
/RedHat/: { # RHEL, CentOS
class { 'glogging::agent::redhat':
credential_file => $credential_file,
}
}
/Debian/: { # Debian, Ubuntu
class { 'glogging::agent::debian':
credential_file => $credential_file,
}
}
/windows/: {
include glogging::agent::windows
}
default: {
fail("Unsupported operating system: ${::operatingsystem}")
}
}
}
|