
--- | |
driver: | |
name: ec2 | |
aws_ssh_key_id: xxxx | |
region: eu-west-1 | |
availability_zone: b | |
security_group_ids: ["xxxx"] | |
subnet_id: subnet-xxxx | |
instance_type: m3.large | |
associate_public_ip: true | |
interface: dns | |
retryable_tries: 200 | |
retryable_sleep: 10 | |
block_device_mappings: | |
- device_name: /dev/sda1 | |
ebs: | |
volume_size: 80 | |
delete_on_termination: true | |
transport: | |
name: winrm | |
elevated: true | |
ssh_key: /xxxx/.ssh/id_rsa | |
provisioner: | |
name: chef_zero | |
log_level: <%= ENV['CHEF_LOG_LEVEL'] || "auto" %> | |
require_chef_omnibus: 13.3.42 | |
retry_on_exit_code: | |
- 35 | |
- 20 | |
wait_for_retry: 360 | |
max_retries: 3 | |
environments_path: test/integration/environments | |
client_rb: | |
exit_status: :enabled | |
client_fork: false | |
environment: test_platform | |
verifier: | |
name: inspec | |
format: junit | |
output: ./<%= ENV['OUTPUT'] %> | |
platforms: | |
- name: windows-2016 | |
driver: | |
image_id: ami-f97e8f80 | |
- name: windows-2012r2 | |
driver: | |
image_id: ami-6dd02214 | |
suites: | |
- name: default | |
run_list: | |
- recipe[cookbook-fourth-barryexample::default] | |
attributes: | |
cookbook-fourth-barryexample: | |
accept_eula: true |
--- | |
driver: | |
name: ec2 | |
aws_ssh_key_id: my_key | |
security_group_ids: ["sg-xxxxxx"] | |
region: us-west-2 | |
availability_zone: us-west-2b | |
subnet_id: subnet-xxxxxxxxxxxx | |
iam_profile_name: my_profile | |
instance_type: t2.medium | |
associate_pulbic_ip: false | |
interface: private | |
retryable_tries: 120 | |
transport: | |
username: Administrator | |
connection_retries: 60 | |
connection_retry_sleep: 5 | |
platforms: | |
- name: windows-2012r2 | |
driver: | |
image_id: ami-91a7bef0 | |
suites: | |
- name: default | |
run_list: | |
- recipe[my_cookbook::default] |
--- | |
driver: | |
name: ec2 | |
platforms: | |
- name: windows-2016 | |
driver_plugin: ec2 | |
driver_config: | |
tags: | |
created-by: test-kitchen | |
kitchen-type: windows | |
user_data: scripts/user_data_windows_2016.ps1 | |
transport: | |
name: winrm | |
connection_timeout: 10 | |
connection_retries: 5 | |
username: Administrator | |
password: Kitchen | |
verifier: | |
name: pester | |
test_folder: tests | |
- name: rhel | |
driver_plugin: ec2 | |
driver_config: | |
user_data: scripts/user_data_rhel_8.sh | |
transport: | |
max_ssh_sessions: 1 | |
provisioner: | |
name: ansible_playbook | |
roles_path: ./ | |
role_name: ansible_test_kitchen_windows_role | |
ansible_connection: winrm | |
ansible_inventory: inventory/hosts | |
require_windows_support: true | |
require_chef_for_busser: false | |
ansible_host_key_checking: false | |
ansible_verbose: true | |
ansible_verbosity: 2 | |
playbook: default.yml | |
suites: | |
- name: default |









I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND