Sprinkle is a software provisioning tool you can use to build remote servers with. eg. to install a Rails, or Sinatra stack on a brand new slice directly after its been created
package :magic_beans do
source 'http://magicbeansland.com/latest-1.1.1.tar.gz' do
prefix '/usr/local'
pre :prepare { 'echo "Here we go folks."' }
post :extract { 'echo "I believe..."' }
pre :build { 'echo "Cross your fingers!"' }
end
end
However, dress forces the command to be run from the build dir -- this is the directory created by extracting the archive. So all pre/post hooks prior to the extraction will fail. In the example above, the pre :prepare should fail.
From the documentation:
However,
dress
forces the command to be run from the build dir -- this is the directory created by extracting the archive. So all pre/post hooks prior to the extraction will fail. In the example above, thepre :prepare
should fail.