Skip to content

Commit

Permalink
quote reserved word type in tail.pp so rake validate succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr1212 committed Jun 11, 2015
1 parent 27c81f6 commit 192eab7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/plugins/tail.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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 => '\\<R=local_user\\>',
dstype => 'CounterInc',
type => 'counter',
instance => 'local_user',
'regex' => '\\<R=local_user\\>',
'dstype' => 'CounterInc',
'type' => 'counter',
'instance' => 'local_user',
}
]
}
Expand All @@ -24,10 +24,10 @@
instance => 'auth',
matches => [
{
regex => '\\<sshd[^:]*: Accepted publickey for [^ ]+ from\\>',
dstype => 'CounterInc',
type => 'counter',
instance => 'auth-publickey',
'regex' => '\\<sshd[^:]*: Accepted publickey for [^ ]+ from\\>',
'dstype' => 'CounterInc',
'type' => 'counter',
'instance' => 'auth-publickey',
}
]
}

0 comments on commit 192eab7

Please sign in to comment.