Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit ca24738

Browse files
authored
Merge pull request #88 from dev-sec/kitchen_update
use centos 7 in vagrant, limit ssh conns
2 parents c6f6f98 + d893210 commit ca24738

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.kitchen.vagrant.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ provisioner:
1414
roles_path: ../ansible-ssh-hardening/
1515
playbook: default.yml
1616

17+
transport:
18+
max_ssh_sessions: 5
19+
20+
1721
platforms:
1822
- name: ubuntu-12.04
1923
driver_config:
@@ -23,10 +27,10 @@ platforms:
2327
driver_config:
2428
box: opscode-ubuntu-14.04
2529
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box
26-
- name: centos-6.4
30+
- name: centos-7.2
2731
driver_config:
28-
box: opscode-centos-6.4
29-
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
32+
box: opscode-centos-7.2
33+
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.2_chef-provisionerless.box
3034
- name: centos-6.5
3135
driver_config:
3236
box: opscode-centos-6.5

.kitchen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ driver:
66
provision_command:
77
- "mkdir /var/run/sshd"
88

9+
transport:
10+
max_ssh_sessions: 5
11+
12+
913
provisioner:
1014
name: ansible_playbook
1115
hosts: all

0 commit comments

Comments
 (0)