search for: action_pattern

Displaying 1 result from an estimated 1 matches for "action_pattern".

2006 Sep 08
0
syslog
...X", action_regex="BASIC_REGEX") { Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" } $file = "/etc/syslog.conf" $selector_pattern = $selector_regex ? { BASIC_REGEX => "^$name", default => $selector_regex } $action_pattern = $action_regex ? { BASIC_REGEX => "$ensure", default => $action_regex } case $ensure { absent: { exec { "rm-syslogconf-$name": command => "sed -i -e ''/^$name/d'' $file",...