Displaying 1 result from an estimated 1 matches for "action_regex".
2006 Sep 08
0
syslog
..."*.err":
ensure => "/dev/console",
selector_regex => ''^\*.err[[:space:]]'';
"*.emerg":
ensure => "*",
selector_regex => ''^\*.emerg[[:space:]]'',
action_regex => "\*";
"lpr.err":
ensure => "/var/log/messages";
"lpr.crit":
ensure => "/dev/console";
}
Here is the syslog class definition:
class syslog {
Exec { path => "/usr/bin:/usr/sbin/:...