Chef: How do I override default attributes in roles?

后端 未结 7 629
情歌与酒
情歌与酒 2020-12-08 15:06

I\'m using the opscode nginx cookbook for configuring the nginx server on my nodes. The nginx cookbook has some default attributes I\'d like to override in my role (\"web_se

相关标签:
7条回答
  • 2020-12-08 15:41

    Did you check the attribute precedence order here? https://docs.chef.io/attributes.html#attribute-precedence

    Make sure there are no attributes overridden on a node directly in your recipe.

    0 讨论(0)
提交回复
热议问题