Iam trying to test how to call attribute which is in attribute/default.rb file defined like this
default[cm][db_name] =%w{}
Now if i want to call this attribute in the kitchen.yml file
How do i call this attribute
Iam doing this in kitchen.yml to call attribute, Iam not getting any error in kitchen converge,But my databases are not created .Can you guide me if iam calling right way or any hints would be helpful.
driver:
name: vagrant
linked_clone: true
gui: false
provisioner:
name: chef_zero
product_name: chef
product_version: 13.6.4
multiple_converge: 2
enforce_idempotency: true
verifier:
name: inspec
platforms:
- name: centos-7
suites: - name: default
run_list:- recipe[c_mysql::default]
attributes:
cms_mysql:
db_name: - casemysql
- casemysql1
- recipe[c_mysql::default]