Created
January 22, 2010 23:01
-
-
Save solidsnack/284267 to your computer and use it in GitHub Desktop.
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
def files_root | |
root = Chef::Config[:cookbook_path] | |
cookbook = self.cookbook_name | |
variant = self.recipe_name | |
"#{root}/#{cookbook}/files/#{variant}" | |
end | |
## Root of our file repository for this variant of the cookbook. | |
FILES = files_root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment