From 192eab7ee709792186ba516b7d8cc3c6542c5bf0 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Thu, 11 Jun 2015 07:16:03 +0200 Subject: [PATCH] quote reserved word type in tail.pp so rake validate succeeds --- tests/plugins/tail.pp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/plugins/tail.pp b/tests/plugins/tail.pp index 05454efe5..26d749a6b 100644 --- a/tests/plugins/tail.pp +++ b/tests/plugins/tail.pp @@ -5,16 +5,16 @@ instance => 'exim', matches => [ { - regex => 'S=([1-9][0-9]*)', - dstype => 'CounterAdd', - type => 'ipt_bytes', - instance => 'total', + 'regex' => 'S=([1-9][0-9]*)', + 'dstype' => 'CounterAdd', + 'type' => 'ipt_bytes', + 'instance' => 'total', }, { - regex => '\\', - dstype => 'CounterInc', - type => 'counter', - instance => 'local_user', + 'regex' => '\\', + 'dstype' => 'CounterInc', + 'type' => 'counter', + 'instance' => 'local_user', } ] } @@ -24,10 +24,10 @@ instance => 'auth', matches => [ { - regex => '\\', - dstype => 'CounterInc', - type => 'counter', - instance => 'auth-publickey', + 'regex' => '\\', + 'dstype' => 'CounterInc', + 'type' => 'counter', + 'instance' => 'auth-publickey', } ] }