<commit_before>---
driver:
  name: docker
  use_sudo: false
  privileged: true


provisioner:
  name: chef_zero
  data_bags_path: test/fixtures/data_bags
  require_chef_omnibus: 12

platforms:
  - name: ubuntu-14.04
    driver_config:
      image: ubuntu-upstart:14.04
      # forward:
      #   - 8081:80
      disable_upstart: false
      run_command: '/sbin/init'
      provision_command:
#       Source for snmp-mibs-downloader package
        - echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list
#       Netstat for Inspec
        - apt-get update && apt-get install -y net-tools


  - name: ubuntu-16.04
    driver_config:
      image: ubuntu:16.04
      # forward:
      #   - 8082:80
      run_command: '/sbin/init'
      provision_command:
        -  touch /etc/default/keyboard
#       For systemd
        - systemctl set-default multi-user.target
#       Netstat for Inspec
        - apt-get install -y dbus net-tools

  - name: centos-7
    driver_config:
      image: centos:7
      # forward:
      #   - 8083:80
      run_command: '/usr/sbin/init'
      provision_command:
#       Install package's docs
#       For zabbix init db sql files
        - sed -i 's/^tsflags/#tsflags/' /etc/yum.conf
#       For nginx package
        - yum -y install openssl openssl-devel
#       Netstat for Inspec
        - yum -y install net-tools

suites:
  - name: base
    provisioner:
      policyfile: policies/base.rb

  - name: chef-server
    driver_config:
      run_options: '--sysctl net.ipv6.conf.all.disable_ipv6=0'
    provisioner:
      policyfile: policies/chef-server.rb

  - name: graylog-server
    provisioner:
      policyfile: policies/graylog-server.rb

  - name: zabbix-server
    provisioner:
      policyfile: policies/zabbix-server.rb

  - name: all
    provisioner:
      policyfile: policies/all.rb
<commit_msg>Add docker<commit_after>---
driver:
  name: docker
  use_sudo: false
  privileged: true


provisioner:
  name: chef_zero
  require_chef_omnibus: 12
  data_bags_path: data_bags

platforms:
  - name: ubuntu-14.04
    driver_config:
      image: ubuntu-upstart:14.04
      disable_upstart: false
      run_command: '/sbin/init'
      provision_command:
#       Source for snmp-mibs-downloader package
        - echo 'deb http://archive.ubuntu.com/ubuntu trusty multiverse' >> /etc/apt/sources.list
#       Netstat for Inspec
        - apt-get update && apt-get install -y net-tools


  - name: ubuntu-16.04
    driver_config:
      image: ubuntu:16.04
      run_command: '/sbin/init'
      provision_command:
        -  touch /etc/default/keyboard
#       For systemd
        - systemctl set-default multi-user.target
#       Netstat for Inspec
        - apt-get install -y dbus net-tools

  - name: centos-7
    driver_config:
      image: centos:7
      run_command: '/usr/sbin/init'
      provision_command:
#       Install package's docs
#       For zabbix init db sql files
        - sed -i 's/^tsflags/#tsflags/' /etc/yum.conf
#       For nginx package
        - yum -y install openssl openssl-devel
#       Netstat for Inspec
        - yum -y install net-tools

suites:
  - name: base
    provisioner:
      policyfile: policies/base.rb


  - name: chef-server
    driver_config:
      run_options: '--sysctl net.ipv6.conf.all.disable_ipv6=0'
    provisioner:
      policyfile: policies/chef-server.rb

  - name: graylog-server
    provisioner:
      policyfile: policies/graylog-server.rb


  - name: zabbix-server
    provisioner:
      policyfile: policies/zabbix-server.rb

  - name: all
    provisioner:
      policyfile: policies/all.rb

{'fraction_non_alphanumeric': 0.09806629834254144, 'fraction_numerical': 0.017679558011049725, 'mean_word_length': 2.1875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3174228', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1222, 'n_words': 275}