blob: 073881b451663c240229b5fa40a6a6190917d0c7 [file] [log] [blame]
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +01001---
2driver:
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 Polreicha3eacc42018-11-07 10:58:57 +01009 openstack_identity_api_version: 3
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010010 availability_zone: <%= ENV['OS_AZ'] || 'nova' %>
11 openstack_network_name: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %>
12 security_groups:
13 - kitchen
Martin Polreicha3eacc42018-11-07 10:58:57 +010014 network_id: <%= ENV['OS_INTERNAL_NETWORK_ID'] || '2d161ac2-1687-459e-921a-8f7a82a36b5e' %>
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010015 user_data: user_data.sh
16 require_chef_omnibus: false
17 floating_ip_pool: <%= ENV['OS_FLOATING_NETWORK_NAME'] || 'public' %>
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010018 allocate_floating_ip: true
19 image_id: <%= ENV['OS_IMAGE_ID'] %>
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010020 flavor_id: <%= ENV['OS_FLAVOR_ID'] || 'ac2a36af-f9a0-4af7-8220-e85cff4d2bce' %>
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010021 server_name: <%= ENV['SUITE'] %>-ubuntu-<%= ENV['UBUNTU_VERSION'].gsub ".","_" %>-salt-<%= ENV['SALT_VERSION'].gsub ".","_" %>
Martin Polreicha3eacc42018-11-07 10:58:57 +010022 read_timeout: 720
23 write_timeout: 720
24 connect_timeout: 360
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010025
26transport:
27 username: kitchen
28 password: kitchen
29 connection_timeout: 10
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010030 connection_retries: 60
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010031
32provisioner:
33 name: salt_solo
34 salt_install: bootstrap
35 salt_bootstrap_url: https://bootstrap.saltstack.com
Martin Polreicha3eacc42018-11-07 10:58:57 +010036 salt_version: <%= ENV['SALT_VERSION'] %>
Dzmitry Stremkouskia5871a62018-11-07 23:04:36 +010037 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 Stremkouski1ca901c2018-11-05 13:20:52 +010039 require_chef: false
Martin Polreicha3eacc42018-11-07 10:58:57 +010040 log_level: info
Dzmitry Stremkouski1ca901c2018-11-05 13:20:52 +010041 formula: iptables
42 state_top:
43 base:
44 "*":
45 - iptables
46 pillars:
47 top.sls:
48 base:
49 "*":
50 - iptables
51
52verifier:
53 name: inspec
54 sudo: true
55
56platforms:
57 - name: saltstack-ubuntu-<%= ENV['UBUNTU_DISTRO'] || 'xenial' %>-salt-<%= ENV['SALT_VERSION'] || '2018.3.0' %>
58
59suites:
60 - name: iptables
61 provisioner:
62 pillars-from-files:
63 iptables.sls: tests/pillar/iptables.sls