---
driver_plugin: vagrant
driver_config:
  require_chef_omnibus: 11.16.4
  customize:
    natdnshostresolver1: "on"
    memory: 2048
provisioner: chef_zero

platforms:
- name: ubuntu-14.04
  driver_config:
    box: opscode_ubuntu-14.04_chef-provisionerless
    box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box

suites:
  - name: default
    encrypted_data_bag_secret_key_path: "test/integration/encrypted_data_bag_secret"
    run_list:
      - recipe[optoro_monit::default]
    attributes:
      monit:
        poll_start_delay: 0
        mailserver:
          host: localhost
          port: 25
  - name: rabbitmq
    encrypted_data_bag_secret_key_path: "test/integration/encrypted_data_bag_secret"
    run_list:
      - recipe[optoro_monit::rabbitmq]
    attributes:
      monit:
        poll_start_delay: 0
        mailserver:
          host: localhost
          port: 25

---
driver_plugin: vagrant
driver_config:
  require_chef_omnibus: 11.16.4
  customize:
    natdnshostresolver1: "on"
    memory: 2048
provisioner: chef_zero

platforms:
- name: ubuntu-14.04
  driver_config:
    box: opscode_ubuntu-14.04_chef-provisionerless
    box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box

suites:
  - name: default
    encrypted_data_bag_secret_key_path: "test/integration/encrypted_data_bag_secret"
    run_list:
      - recipe[optoro_monit::default]
    attributes:
      monit:
        poll_start_delay: 0
        mailserver:
          host: localhost
          port: 25
        mail_format:
          from: monit@localhost
  - name: rabbitmq
    encrypted_data_bag_secret_key_path: "test/integration/encrypted_data_bag_secret"
    run_list:
      - recipe[optoro_monit::rabbitmq]
    attributes:
      monit:
        poll_start_delay: 0
        mailserver:
          host: localhost
          port: 25
        mail_format:
          from: monit@localhost

Add host from mail format attribute to allow testing.
Add host from mail format attribute to allow testing.
