README.txt in sprinkle-0.1.6 vs README.txt in sprinkle-0.1.7

- old
+ new

@@ -60,21 +60,22 @@ appserver, database and webserver can be virtual packages, where the user will be prompted for selection if multiple choices for the virtual package exist. Sprinkle is architected to be extendable in many ways, one of those areas is in its deployment of commands to -remote hosts. Currently Sprinkle supports the use of Capistrano or Vlad to issue commands on remote hosts via ssh, -but could also be extended to use any other command transport mechanism or be used to simply issue installation -commands on the local system. +remote hosts. Currently Sprinkle supports the use of Capistrano, Vlad, or a direct net/ssh connection to +issue commands on remote hosts via ssh, but could also be extended to use any other command transport mechanism +desired. Sprinkle can also be configured to simply issue installation commands to provision the local system. -An full example Sprinkle deployment script for deploying Rails (via gems), MySQL (via APT), and Apache (via source): +An full example Sprinkle deployment script for deploying Rails (via gems), MySQL (via APT), Apache (via source) +and Git (via source with dependencies from APT): # Sprinkle Rails deployment script # - # This is an example Sprinkle script, configured to install Rails from gems, Apache and Ruby from source, - # and mysql from apt on an Ubuntu system. Installation is configured to run via Capistrano (and - # an accompanying deploy.rb recipe script). Source based packages are downloaded and built into + # This is an example Sprinkle script, configured to install Rails from gems, Apache, Ruby and Git from source, + # and mysql and Git dependencies from apt on an Ubuntu system. Installation is configured to run via + # Capistrano (and an accompanying deploy.rb recipe script). Source based packages are downloaded and built into # /usr/local on the remote system. # # A sprinkle script is separated into 3 different sections. Packages, policies and deployment. # # Packages @@ -152,11 +153,23 @@ description 'Cluster Management for Mongrel' gem 'mongrel_cluster' # :source => 'http://gems.github.com/' for alternate gem server version '1.0.5' requires :mongrel end + + package :git, :provides => :scm do + description 'Git Distributed Version Control' + version '1.5.6.3' + source "http://kernel.org/pub/software/scm/git/git-#{version}.tar.gz" + requires :git_dependencies + end + package :git_dependencies do + description 'Git Build Dependencies' + apt 'git', :dependencies_only => true + end + # Policies # Associates the rails policy to the application servers. Contains rails, and surrounding # packages. Note, appserver, database and webserver are all virtual packages defined above. If # there's only one implementation of a virtual package, it's selected automatically, otherwise @@ -165,9 +178,10 @@ policy :rails, :roles => :app do requires :rails, :version => '2.1.0' requires :appserver requires :database requires :webserver + requires :scm end # Deployment # Configures sprinkle to use capistrano for delivery of commands to the remote machines (via