forked from omarramos/chef-papertrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
58 lines (55 loc) · 1.28 KB
/
.kitchen.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-6.9
- name: centos-7.3
- name: amazonlinux-2017.03
driver:
name: ec2
image_id: ami-6df1e514
aws_ssh_key_id: test-kitchen
region: us-west-2
availability_zone: a
require_chef_omnibus: true
instance_type: t2.large
associate_public_ip: true
interface: dns
transport:
username: ec2-user
ssh_key: ~/.ssh/id_rsa
- name: debian-9.0
run_list:
- recipe[apt]
- name: ubuntu-14.04
run_list:
- recipe[apt]
- name: ubuntu-16.04
run_list:
- recipe[apt]
suites:
- name: default
run_list:
- recipe[papertrail]
attributes:
papertrail:
files:
- /tmp/test.log
- /srv/foo.txt
- /var/log/*.bar
- path: /srv/foo.txt
tag: foo_file
exclude_files:
- /tmp/exlude.log
- /srv/dont-include.log
- /var/log/skip-me.log
hostname: 'my-super-awesome-hostname'
exclude_patterns:
- '\d+ things'
destination_host: 'testhost.papertrail'
destination_port: 6500
destination_protocol: 'tls'
new_file_check_interval: 30
facility: 'local7'
severity: 'warn'