I am looking for specific instructions on how to override default values in a third party cookbook. For example, i am using apache_spark
cookbook (https://github.com/clearstorydata-cookbooks/apache_spark)
And i want to override the attribute
default['apache_spark']['standalone']['master_host']
I tried it my making a main recipe, in which i add
node.default['apache_spark']['standalone']['master_host'] = 'foo.com'
And execute it using chef solo like:
run_list(
'recipe[main]',
'recipe[apache_spark::spark-standalone-worker]'
)
But that does not seem to work. Any suggestions on how it needs to be done? My main recipe is here https://github.com/Vibhuti/chef-main
main::default
recipe seems to be empty and the cookbook has noattributes/
directory. Is that right? – zuazo