---
driver:
  name: vagrant
  customize:
    memory: 1024
    cpus: 2

provisioner:
  name: chef_solo

platforms:
  - name: ubuntu-14.04

suites:
  - name: full-stack
    run_list:
      - role[mysql]
      - role[rails_passenger]
      - role[sysadmins]
    attributes:
      authentication:
        sudo:
          passwordless: true
      sysadmins:
        jdoe:
          password: "test"
          ssh_keys: ["test-key"]
      mysql:
        server_debian_password: "test"
        server_root_password: "test"
        server_repl_password: "test"
      active_applications:
        intercity_sample_app:
          domain_names: ['intercity.io']
          database_info:
            adapter: mysql2
            username: intercity
            password: r4nd0m
            database: intercity_sample_app
          ruby_version: 2.1.2

---
driver:
  name: vagrant
  customize:
    memory: 1024
    cpus: 2

provisioner:
  name: chef_solo

platforms:
  - name: ubuntu-14.04

suites:
  - name: full-stack
    run_list:
      - role[mysql]
      - role[rails_passenger]
      - role[sysadmins]
    attributes:
      authorization:
        sudo:
          passwordless: true
          users: ["vagrant"]
      sysadmins:
        jdoe:
          password: "test"
          ssh_keys: ["test-key"]
      mysql:
        server_debian_password: "test"
        server_root_password: "test"
        server_repl_password: "test"
      active_applications:
        intercity_sample_app:
          domain_names: ['intercity.io']
          database_info:
            adapter: mysql2
            username: intercity
            password: r4nd0m
            database: intercity_sample_app
          ruby_version: 2.1.2

Make sure that our "vagrant" user automatically gets sudo-et
Make sure that our "vagrant" user automatically gets sudo-et
