Saltstack Official IPTables Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 line
1.7KB

  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. transport:
  24. username: kitchen
  25. password: kitchen
  26. connection_timeout: 10
  27. connection_retries: 5
  28. provisioner:
  29. name: salt_solo
  30. salt_install: bootstrap
  31. salt_bootstrap_url: https://bootstrap.saltstack.com
  32. salt_version: <%= ENV['SALT_VERSION'] || '2018.3.0' %>
  33. require_chef: false
  34. log_level: error
  35. formula: iptables
  36. state_top:
  37. base:
  38. "*":
  39. - iptables
  40. pillars:
  41. top.sls:
  42. base:
  43. "*":
  44. - iptables
  45. verifier:
  46. name: inspec
  47. sudo: true
  48. platforms:
  49. - name: saltstack-ubuntu-<%= ENV['UBUNTU_DISTRO'] || 'xenial' %>-salt-<%= ENV['SALT_VERSION'] || '2018.3.0' %>
  50. suites:
  51. - name: iptables
  52. provisioner:
  53. pillars-from-files:
  54. iptables.sls: tests/pillar/iptables.sls