Merge "Fix unrecognized escape sequence warning"
This commit is contained in:
commit
659eeefc23
@ -28,7 +28,7 @@ class packstack::nagios::nrpe ()
|
|||||||
# disk used on /var
|
# disk used on /var
|
||||||
file_line{'df_var':
|
file_line{'df_var':
|
||||||
path => '/etc/nagios/nrpe.cfg',
|
path => '/etc/nagios/nrpe.cfg',
|
||||||
match => "command\[df_var\]=",
|
match => 'command\[df_var\]=',
|
||||||
line => "command[df_var]=df /var/ | sed -re 's/.* ([0-9]+)%.*/\\1/' | grep -E '^[0-9]'",
|
line => "command[df_var]=df /var/ | sed -re 's/.* ([0-9]+)%.*/\\1/' | grep -E '^[0-9]'",
|
||||||
} ->
|
} ->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user