Proper way to change recipe's attribute at next run node's chef-client


#1

Hello community!

I have a cookbook to add users with attribute which groups users should be added. Node was bootstrapped to chef server and has saved attribute with groups f.i. [“a”, “b”, “c”]. But now i need add addition group “d”. What is my decision?

I usually do “knife node edit” where edit group list. But is there maybe more simple than edit file. I want something like "chef-client -j “new attribute”

Thank you.