Resource Type: syslog
Overview
Manages settings in syslog.conf.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
no_sync
Whether to omit syncing the file after every logging, ony when action_type is file.
Supported values:- true
- false
Parameters
-
action
The action for the entry.
-
action_port
When action is hostname, the optional port.
-
action_protocol
When action is hostname, the optional protocol.
Supported values:- udp
- tcp
- @
- @@
-
action_type
The type of action: file, hostname, user or program.
-
facility
The syslog facility for the selector.
-
lens
The augeas lens used to parse the file
-
level
The syslog level for the selector.
-
name (namevar)
The name of the resource.
-
provider
The specific backend to use for this ‘syslog` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
target
The file in which to store the settings, defaults to ‘/etc/syslog.conf`.