Last active
December 17, 2015 13:19
-
-
Save riywo/5616653 to your computer and use it in GitHub Desktop.
chef attribute override
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
default["recipeA"]["name"] = "nameA" | |
default["recipeA"]["path"] = "/tmp/#{node["recipeA"]["name"]}" |
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
default["recipeA"]["name"] = "nameB" | |
# node["recipeA"]["name"] = "nameB" | |
# node["recipeA"]["path"] = "/tmp/nameA" |
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
node.default["recipeA"]["name"] = "nameB" | |
include_recipe "recipeA" | |
# node["recipeA"]["name"] = "nameB" | |
# node["recipeA"]["path"] = "/tmp/nameA" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment