<commit_before>---
driver_plugin: vagrant
driver_config:
  # require_chef_omnibus: latest # will install on each run
  require_chef_omnibus: 11.6.0

platforms:

- name: ubuntu-12.04
  driver_config:
    box: opscode-ubuntu-12.04
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: ubuntu-10.04
  driver_config:
    box: opscode-ubuntu-10.04
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-10.04_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: debian-7.2.0
  driver_config:
    box: opscode-debian-7.2.0
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.2.0_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: centos-6.5
  driver_config:
    box: opscode-centos-6.5
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
  run_list:
  - "recipe[yum]"

- name: centos-5.10
  driver_config:
    box: opscode-centos-5.10
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-5.10_chef-provisionerless.box
  run_list:
  - "recipe[yum]"

# not going to try until
# https://jira.mongodb.org/browse/SERVER-7285 is closed
#- name: fedora-19
  #driver_config:
    #box: opscode-fedora-19
    #box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-19_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

 #- name: fedora-20
  #driver_config:
    #box: opscode-fedora-20
    #box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

# maybe again oneday
 #- name: freebsd-9.2
  #driver_config:
    #box: opscode-freebsd-9.2
    #box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

suites:
- name: default
  run_list:
  - "recipe[mongodb]"
  attributes: {}

- name: default_10gen
  run_list:
  - "recipe[mongodb::10gen_repo]"
  - "recipe[mongodb]"
  attributes: {}

- name: configserver
  run_list:
  - "recipe[mongodb::configserver]"
  attributes: {}

- name: mongos
  run_list:
  - "recipe[chef-solo-search]"
  - "recipe[mongodb::mongos]"
  attributes:
    mongodb:
      cluster_name: default

- name: mms_agent
  run_list:
  - "recipe[mongodb::mms_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"

- name: mms_monitoring_agent
  run_list:
  - "recipe[mongodb::mms_monitoring_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"
        monitoring:
          sslRequireValidServerCertificates: false
  excludes:
    - ubuntu-10.04
    - debian-7.2.0
    - centos-5.10
    
- name: mms_backup_agent
  run_list:
  - "recipe[mongodb::mms_backup_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"
        backup:
          sslRequireValidServerCertificates: false
  excludes:
    - ubuntu-10.04
    - debian-7.2.0
    - centos-5.10<commit_msg>enable epel so that munin can be installed to test mms_agent, exclude centos 5.10 because runit fails to install<commit_after>---
driver_plugin: vagrant
driver_config:
  # require_chef_omnibus: latest # will install on each run
  require_chef_omnibus: 11.6.0

platforms:

- name: ubuntu-12.04
  driver_config:
    box: opscode-ubuntu-12.04
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: ubuntu-10.04
  driver_config:
    box: opscode-ubuntu-10.04
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-10.04_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: debian-7.2.0
  driver_config:
    box: opscode-debian-7.2.0
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.2.0_chef-provisionerless.box
  run_list:
  - "recipe[apt]"

- name: centos-6.5
  driver_config:
    box: opscode-centos-6.5
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box
  run_list:
  - "recipe[yum]"
  - "recipe[yum-epel]"

- name: centos-5.10
  driver_config:
    box: opscode-centos-5.10
    box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-5.10_chef-provisionerless.box
  run_list:
  - "recipe[yum]"
  - "recipe[yum-epel]"

# not going to try until
# https://jira.mongodb.org/browse/SERVER-7285 is closed
#- name: fedora-19
  #driver_config:
    #box: opscode-fedora-19
    #box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-19_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

 #- name: fedora-20
  #driver_config:
    #box: opscode-fedora-20
    #box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

# maybe again oneday
 #- name: freebsd-9.2
  #driver_config:
    #box: opscode-freebsd-9.2
    #box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_freebsd-9.2_chef-provisionerless.box
  #run_list:
  #- "recipe[yum]"

suites:
- name: default
  run_list:
  - "recipe[mongodb]"
  attributes: {}

- name: default_10gen
  run_list:
  - "recipe[mongodb::10gen_repo]"
  - "recipe[mongodb]"
  attributes: {}

- name: configserver
  run_list:
  - "recipe[mongodb::configserver]"
  attributes: {}

- name: mongos
  run_list:
  - "recipe[chef-solo-search]"
  - "recipe[mongodb::mongos]"
  attributes:
    mongodb:
      cluster_name: default

- name: mms_agent
  run_list:
  - "recipe[mongodb::mms_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"
  excludes:
    # runit is failing to install
    - centos-5.10

- name: mms_monitoring_agent
  run_list:
  - "recipe[mongodb::mms_monitoring_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"
        monitoring:
          sslRequireValidServerCertificates: false
  excludes:
    # Upstart script uses setuid which is not present in this version
    - ubuntu-10.04
    # Upstart is not present
    - debian-7.2.0
    # Package does not create the user
    - centos-5.10
    
- name: mms_backup_agent
  run_list:
  - "recipe[mongodb::mms_backup_agent]"
  attributes:
    mongodb:
      mms_agent:
        api_key: "random key"
        backup:
          sslRequireValidServerCertificates: false
  excludes:
    # Upstart script uses setuid which is not present in this version
    - ubuntu-10.04
    # Upstart is not present
    - debian-7.2.0
    # Package does not create the user
    - centos-5.10
{'fraction_non_alphanumeric': 0.12898955728783645, 'fraction_numerical': 0.03206353875569937, 'mean_word_length': 3.239401496259352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1113168', 'n_tokens_mistral': 2948, 'n_tokens_neox': 2771, 'n_words': 402}