This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# attributes/default.rb | |
default[:my_attribute] = false | |
# on some machine: | |
chef-client -j example.json | |
# example.json | |
{"run_list": "recipe[example]", "my_attribute": true} | |
value used in recipe is now true | |
# after a while, on the same machine (node is existing): | |
chef-client -j example.json | |
# example.json | |
{"run_list": "recipe[example]"} | |
question: what is the value of my_attribute used in recipe? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment