Page MenuHomeSoftware Heritage

syslog.pp
No OneTemporary

syslog.pp

# == Class: icinga2::feature::syslog
#
# This module configures the Icinga2 feature syslog.
#
# === Parameters
#
# Document parameters here.
#
# [*ensure*]
# Set to present enables the feature syslog, absent disabled it. Default to present.
#
# [*severity*]
# You can choose the log severity between information, notice, warning or debug.
# Default to information.
#
# === Authors
#
# Icinga Development Team <info@icinga.org>
#
class icinga2::feature::syslog(
$ensure = present,
$severity = 'warning',
) {
validate_re($ensure, [ '^present$', '^absent$' ],
"${ensure} isn't supported. Valid values are 'present' and 'absent'.")
validate_re($severity, ['^information$','^notice$','^warning$','^debug$'])
icinga2::feature { 'syslog':
ensure => $ensure,
}
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 7:27 PM (9 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399172

Event Timeline