Good Day
Can a policyfile/policyfile.lock.json runlist be overwritten, similar than cookbooks? Will appreciate if someone can advise how to go about.
Tried the below to overwrite default recipe, without success:
Option 1) knife node run_lists set node 'recipe[mycookbook::myrecipe]'
When running chef-client on the node it still runs the policyfile.lock.json original compiled runlist
Option 2) chef-client -o "recipe[mycookbook::myrecipe]'"
Returns error, Chef::PolicyBuilder::Policyfile::UnsupportedFeature: Policyfile does not support override run lists. Use named run_lists instead
Thanks
Nic