Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 1 | --- |
| 2 | driver: |
| 3 | name: openstack |
| 4 | openstack_username: <%= ENV['OS_USERNAME'] %> |
| 5 | openstack_api_key: <%= ENV['OS_PASSWORD'] %> |
| 6 | openstack_auth_url: <%= ENV['OS_AUTH_URL'] %> |
| 7 | openstack_domain_name: <%= ENV['OS_DOMAIN_NAME'] %> |
| 8 | openstack_project_name: <%= ENV['OS_PROJECT_NAME'] %> |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 9 | openstack_identity_api_version: 3 |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 10 | availability_zone: <%= ENV['OS_AZ'] || 'nova' %> |
| 11 | openstack_network_name: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
| 12 | security_groups: |
| 13 | - kitchen |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 14 | network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '2d161ac2-1687-459e-921a-8f7a82a36b5e' %> |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 15 | user_data: user_data.sh |
| 16 | require_chef_omnibus: false |
| 17 | floating_ip_pool: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
Dzmitry Stremkouski | a5871a6 | 2018-11-07 23:04:36 +0100 | [diff] [blame] | 18 | allocate_floating_ip: true |
| 19 | image_id: <%= ENV['OS_IMAGE_ID'] %> |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 20 | flavor_id: <%= ENV['OS_FLAVOR_ID'] || 'ac2a36af-f9a0-4af7-8220-e85cff4d2bce' %> |
Dzmitry Stremkouski | a5871a6 | 2018-11-07 23:04:36 +0100 | [diff] [blame] | 21 | server_name: <%= ENV['SUITE'] %>-ubuntu-<%= ENV['UBUNTU_VERSION'].gsub ".","_" %>-salt-<%= ENV['SALT_VERSION'].gsub ".","_" %> |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 22 | read_timeout: 720 |
| 23 | write_timeout: 720 |
| 24 | connect_timeout: 360 |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 25 | |
| 26 | transport: |
| 27 | username: kitchen |
| 28 | password: kitchen |
| 29 | connection_timeout: 10 |
Dzmitry Stremkouski | a5871a6 | 2018-11-07 23:04:36 +0100 | [diff] [blame] | 30 | connection_retries: 60 |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 31 | |
| 32 | provisioner: |
| 33 | name: salt_solo |
| 34 | salt_install: bootstrap |
| 35 | salt_bootstrap_url: https://bootstrap.saltstack.com |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 36 | salt_version: <%= ENV['SALT_VERSION'] %> |
Dzmitry Stremkouski | a5871a6 | 2018-11-07 23:04:36 +0100 | [diff] [blame] | 37 | salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/<%= ENV['UBUNTU_VERSION'] || '16.04' %>/amd64/latest/SALTSTACK-GPG-KEY.pub |
| 38 | salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/<%= ENV['UBUNTU_VERSION'] || '16.04' %>/amd64/ |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 39 | require_chef: false |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 40 | log_level: info |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 41 | formula: iptables |
| 42 | state_top: |
| 43 | base: |
| 44 | "*": |
| 45 | - iptables |
| 46 | pillars: |
| 47 | top.sls: |
| 48 | base: |
| 49 | "*": |
| 50 | - iptables |
| 51 | |
| 52 | verifier: |
| 53 | name: inspec |
| 54 | sudo: true |
| 55 | |
| 56 | platforms: |
| 57 | - name: saltstack-ubuntu-<%= ENV['UBUNTU_DISTRO'] || 'xenial' %>-salt-<%= ENV['SALT_VERSION'] || '2018.3.0' %> |
| 58 | |
| 59 | suites: |
| 60 | - name: iptables |
| 61 | provisioner: |
| 62 | pillars-from-files: |
| 63 | iptables.sls: tests/pillar/iptables.sls |