Martin Polreich | 9690d17 | 2017-05-17 15:22:32 +0200 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: docker |
| 4 | hostname: telegraf.ci.local |
| 5 | use_sudo: false |
| 6 | |
| 7 | provisioner: |
| 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 | |
| 35 | verifier: |
| 36 | name: inspec |
| 37 | sudo: true |
| 38 | |
| 39 | |
| 40 | platforms: |
Martin Polreich | 7b9fe9f | 2018-02-21 14:39:39 +0100 | [diff] [blame] | 41 | - name: <%=ENV['PLATFORM'] || 'saltstack-ubuntu-xenial-salt-stable' %> |
Martin Polreich | 9690d17 | 2017-05-17 15:22:32 +0200 | [diff] [blame] | 42 | driver_config: |
Martin Polreich | 7b9fe9f | 2018-02-21 14:39:39 +0100 | [diff] [blame] | 43 | image: <%=ENV['PLATFORM'] || 'epcim/salt-formulas:saltstack-ubuntu-xenial-salt-stable'%> |
Martin Polreich | 9690d17 | 2017-05-17 15:22:32 +0200 | [diff] [blame] | 44 | platform: ubuntu |
| 45 | |
| 46 | suites: |
| 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 |