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 | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 14 | network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '2bf901d4-c58c-4916-a49e-49fc3c265510' %> |
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 |
Martin Polreich | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 19 | flavor_id: <%= ENV['OS_FLAVOR_ID'] || '13f2c9bc-1f97-441c-96f1-caba1a82b734' %> |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 20 | read_timeout: 720 |
| 21 | write_timeout: 720 |
| 22 | connect_timeout: 360 |
Martin Polreich | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 23 | mcp_ruby_version: '2.5.0' |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 24 | |
| 25 | transport: |
| 26 | username: kitchen |
| 27 | password: kitchen |
| 28 | connection_timeout: 10 |
Dzmitry Stremkouski | a5871a6 | 2018-11-07 23:04:36 +0100 | [diff] [blame] | 29 | connection_retries: 60 |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 30 | |
Martin Polreich | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 31 | salt_config: &salt_config |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 32 | salt_install: bootstrap |
| 33 | salt_bootstrap_url: https://bootstrap.saltstack.com |
Martin Polreich | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 34 | |
| 35 | provisioner: |
| 36 | name: salt_solo |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 37 | require_chef: false |
Martin Polreich | a3eacc4 | 2018-11-07 10:58:57 +0100 | [diff] [blame] | 38 | log_level: info |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 39 | formula: iptables |
| 40 | state_top: |
| 41 | base: |
| 42 | "*": |
| 43 | - iptables |
| 44 | pillars: |
| 45 | top.sls: |
| 46 | base: |
| 47 | "*": |
| 48 | - iptables |
| 49 | |
| 50 | verifier: |
| 51 | name: inspec |
| 52 | sudo: true |
| 53 | |
| 54 | platforms: |
Martin Polreich | 74aa219 | 2019-02-19 14:01:21 +0100 | [diff] [blame^] | 55 | <% for salt_version in ['2017.7.6', '2018.3.3'] %> |
| 56 | - name: saltstack-ubuntu-xenial-salt-<%=salt_version.gsub(".","_")%> |
| 57 | driver: |
| 58 | image_id: 'a64f6d20-167d-4b67-9dd6-bbfc5f7e1859' |
| 59 | server_name: iptables-ubuntu-16_04-salt-<%=salt_version.gsub(".","_")%> |
| 60 | provisioner: |
| 61 | <<: *salt_config |
| 62 | salt_version: <%=salt_version%> |
| 63 | salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub |
| 64 | salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/ |
| 65 | - name: saltstack-ubuntu-bionic-salt-<%=salt_version.gsub(".","_")%> |
| 66 | driver: |
| 67 | image_id: '0c681b14-0034-447b-9379-75fad4d6fa56' |
| 68 | server_name: iptables-ubuntu-18_04-salt-<%=salt_version.gsub(".","_")%> |
| 69 | provisioner: |
| 70 | <<: *salt_config |
| 71 | salt_version: <%=salt_version%> |
| 72 | salt_apt_repo_key: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub |
| 73 | salt_apt_repo: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/ |
| 74 | <% end %> |
Dzmitry Stremkouski | 1ca901c | 2018-11-05 13:20:52 +0100 | [diff] [blame] | 75 | |
| 76 | suites: |
| 77 | - name: iptables |
| 78 | provisioner: |
| 79 | pillars-from-files: |
| 80 | iptables.sls: tests/pillar/iptables.sls |