Chef: How do I override default attributes in roles?

后端 未结 7 643
情歌与酒
情歌与酒 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.

提交回复
热议问题