blob: 9014285a33905b8d634abdbb29387597f3231063 [file] [log] [blame]
Martin Polreich9690d172017-05-17 15:22:32 +02001---
2driver:
3 name: docker
4 hostname: telegraf.ci.local
5 use_sudo: false
6
7provisioner:
8 name: salt_solo
9 salt_install: bootstrap
10 salt_bootstrap_url: https://bootstrap.saltstack.com
11 salt_version: latest
12 require_chef: false
13 log_level: error
14 formula: telegraf
15 grains:
16 noservices: True
17 dependencies:
18 - name: linux
19 repo: git
20 source: https://github.com/salt-formulas/salt-formula-linux
21 state_top:
22 base:
23 "*":
24 - linux.system.repo
25 - telegraf
26 pillars:
27 top.sls:
28 base:
29 "*":
30 - telegraf
31 - linux_repo_extra
32 pillars-from-files:
33 linux_repo_extra.sls: tests/pillar/repo_extra.sls
34
35verifier:
36 name: inspec
37 sudo: true
38
39
40platforms:
41 - name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
42 driver_config:
43 image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
44 platform: ubuntu
45
46suites:
47
48 - name: telegraf_agent
49 provisioner:
50 pillars-from-files:
51 telegraf.sls: tests/pillar/telegraf_agent.sls
52# vim: ft=yaml sw=2 ts=2 sts=2 tw=125