summaryrefslogtreecommitdiff
path: root/tests/multiple_hosts.pp
blob: 9e5a60ed90b208318203550a738ca36940bbb438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class { 'rsyslog::client':
  remote_servers => [
    {
      host       => 'logs.example.org',
    },
    {
      port       => '55514',
    },
    {
      host       => 'logs.somewhere.com',
      port       => '555',
      pattern    => '*.log',
      protocol   => 'tcp',
      format     => 'RFC3164fmt',
    },
  ]
}