Created
October 31, 2014 09:23
-
-
Save jmara/ecca4b77d0481a2d3dda to your computer and use it in GitHub Desktop.
This file contains hidden or 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
include_recipe "apache" | |
include_recipe "php" | |
# Just to make it clear ;) | |
node.default["myface"]["template"] = "production.conf.erb" | |
if node.recipes.include?("myface::dev") | |
include_recipe "myface::dev" | |
end | |
template "foo" do | |
source node["myface"]["template"] | |
end |
This file contains hidden or 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.set["myface"]["template"] = "dev.conf.erb" | |
# do the depen-dance .... :D |
This file contains hidden or 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
"myface::default","myface::dev" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment