I have a simple attributes file: attributes/default.rb
.
default['simpleattr'] = 'file value'
And inside kitchen.yml
, I do
suites:
- name: default
run_list:
- recipe[simple::default]
attributes:
simpleattr: 'value from kitchen'
simple:
simpleattr: 'value from kitchen'
Inside the recipe, I do :
log "default['simpleattr']: "+node.default['simpleattr']
And I always get 'file value'
rather than 'value from kitchen'
as output.
I want to override the value in tests.