summaryrefslogtreecommitdiff
path: root/README.md
blob: 5228dcf929e25557f383b3f980dac30f9c686cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# puppet-rsyslog

Manage rsyslog client and server via Puppet

## How to use

### Client
#### Using default values
```
    class { 'rsyslog::client': }
```

#### Variables and default values
```
    class { 'rsyslog::client':
        log_local      => false,
        log_auth_local => false,
        custom_config  => undef,
        server         => 'log',
    }
```

### Server
#### Using default values
```
    class { 'rsyslog::server': }
```

#### Variables and default values
```
    class { 'rsyslog::server':
        enable_tcp                => true,
        enable_udp                => true,
        server_dir                => '/srv/log/',
        custom_config             => undef,
        high_precision_timestamps => false,
    }
```

Both can be installed at the same time.

### Other notes

* rsyslog::client is logging through relp