QT-DevOps / DevOpsIssues

This Repo will be used to demonstrate the Skills & Questions in DevOps
Apache License 2.0
27 stars 131 forks source link

cookbook is not picking my attribute from attributes folder #1010

Open hanimireddydornala opened 3 years ago

hanimireddydornala commented 3 years ago

I am having issue with chef cookbook where i am running it in local mode. it ran fine. Again i ran the same cb passing the attributes through json file, this time attribute is picked from json file and it ran for the next time when i ran the same cookbook without passing json file as attributes, it is not picking the attribute from the cookbook. It is taking from the json file which i didnn't passed through command line.

So how can this be possible.. is there any place where the attributes are replacing because of running the cookbook with json file?

please help me on understanding this issue.

hanimireddydornala commented 3 years ago

can anyone help me on this?