Skip to content

Commit

Permalink
Merge pull request #88 from dev-sec/kitchen_update
Browse files Browse the repository at this point in the history
use centos 7 in vagrant, limit ssh conns
  • Loading branch information
rndmh3ro committed Feb 28, 2017
2 parents c6f6f98 + d893210 commit ca24738
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ provisioner:
roles_path: ../ansible-ssh-hardening/
playbook: default.yml

transport:
max_ssh_sessions: 5


platforms:
- name: ubuntu-12.04
driver_config:
Expand All @@ -23,10 +27,10 @@ platforms:
driver_config:
box: opscode-ubuntu-14.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box
- name: centos-6.4
- name: centos-7.2
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
box: opscode-centos-7.2
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.2_chef-provisionerless.box
- name: centos-6.5
driver_config:
box: opscode-centos-6.5
Expand Down
4 changes: 4 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ driver:
provision_command:
- "mkdir /var/run/sshd"

transport:
max_ssh_sessions: 5


provisioner:
name: ansible_playbook
hosts: all
Expand Down

0 comments on commit ca24738

Please sign in to comment.