Skip to content

Commit

Permalink
Merge pull request #272 from piotr1212/rake_validate_type
Browse files Browse the repository at this point in the history
quote reserved word type in tail.pp so rake validate succeeds
  • Loading branch information
blkperl committed Jun 17, 2015
2 parents 016458c + 192eab7 commit df5d2bb
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 df5d2bb

Please sign in to comment.