summaryrefslogtreecommitdiff
path: root/README.md
blob: c756bcd4898bcb594e8221d2e96d6cc513c705ff (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
# puppet-rsyslog

Manage rsyslog client and server via Puppet

## How to use

### Client
```
    include rsyslog::client
```

Default server name is set to 'log'

#### Using a different server
```
    $rsyslog_server = 'another-server'
    include rsyslog::client
```

### Server
```
    include rsyslog::server
```

Both can be installed at the same time.

#### Other variables
* $rsyslog_server_dir = '/srv/log/'

### Other notes

* rsyslog::client is logging through relp
* rsyslog::server is running relp, udp and tcp