Created
September 23, 2013 13:53
-
-
Save phnz/6670683 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
current_version = `cd #{node[:deploy][application][:deploy_to]}/current/ && git describe` | |
Chef::Log.debug("Current GIT version #{current_version}") | |
# current_version is empty :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you tried to hardcode the path here? It may not be filling in the directory from the node attributes like you expect.