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'] %> |
| 9 | openstack_identity_api_version: <%= ENV['OS_IDENTITY_VERSION'] || 3 %> |
| 10 | availability_zone: <%= ENV['OS_AZ'] || 'nova' %> |
| 11 | openstack_network_name: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
| 12 | security_groups: |
| 13 | - kitchen |
| 14 | network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '21790488-0dc2-4864-9016-ae4f09d8a67f' %> |
| 15 | user_data: user_data.sh |
| 16 | require_chef_omnibus: false |
| 17 | floating_ip_pool: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %> |
| 18 | image_id: <%= ENV['OS_IMAGE_ID'] || '60878bd4-cb4a-4d71-ae02-2a8ee4476d10' %> |
| 19 | flavor_id: <%= ENV['OS_FLAVOR_ID'] || 'ac2a36af-f9a0-4af7-8220-e85cff4d2bce' %> |
| 20 | read_timeout: 180 |
| 21 | write_timeout: 180 |
| 22 | connect_timeout: 180 |
| 23 | |
| 24 | transport: |
| 25 | username: kitchen |
| 26 | password: kitchen |
| 27 | connection_timeout: 10 |
| 28 | connection_retries: 5 |
| 29 | |
| 30 | provisioner: |
| 31 | name: salt_solo |
| 32 | salt_install: bootstrap |
| 33 | salt_bootstrap_url: https://bootstrap.saltstack.com |
| 34 | salt_version: <%= ENV['SALT_VERSION'] || '2018.3.0' %> |
| 35 | require_chef: false |
| 36 | log_level: error |
| 37 | formula: iptables |
| 38 | state_top: |
| 39 | base: |
| 40 | "*": |
| 41 | - iptables |
| 42 | pillars: |
| 43 | top.sls: |
| 44 | base: |
| 45 | "*": |
| 46 | - iptables |
| 47 | |
| 48 | verifier: |
| 49 | name: inspec |
| 50 | sudo: true |
| 51 | |
| 52 | platforms: |
| 53 | - name: saltstack-ubuntu-<%= ENV['UBUNTU_DISTRO'] || 'xenial' %>-salt-<%= ENV['SALT_VERSION'] || '2018.3.0' %> |
| 54 | |
| 55 | suites: |
| 56 | - name: iptables |
| 57 | provisioner: |
| 58 | pillars-from-files: |
| 59 | iptables.sls: tests/pillar/iptables.sls |