Skip to content

Instantly share code, notes, and snippets.

@lusis

lusis/whisper.rb Secret

Created August 9, 2011 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lusis/7d57706850fcb1fa0478 to your computer and use it in GitHub Desktop.
Save lusis/7d57706850fcb1fa0478 to your computer and use it in GitHub Desktop.
remote_file "/usr/src/whisper-#{node.graphite.whisper.version}.tar.gz" do
source node.graphite.whisper.uri
checksum node.graphite.whisper.checksum
end
execute "untar whisper" do
command "tar xzf whisper-#{node.graphite.whisper.version}.tar.gz"
creates "/usr/src/whisper-#{node.graphite.whisper.version}"
cwd "/usr/src"
end
execute "install whisper" do
command "python setup.py install"
creates "/usr/local/lib/python2.6/dist-packages/whisper-#{node.graphite.whisper.version}.egg-info"
cwd "/usr/src/whisper-#{node.graphite.whisper.version}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment