forked from sprinkle-tool/sprinkle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up examples, consistent ordering of directives, bump versions o…
…f some things to appear more current
- Loading branch information
1 parent
bf525eb
commit a4e4711
Showing
17 changed files
with
63 additions
and
39 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
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 | ||
|
||
source "http://kernel.org/pub/software/scm/git/git-#{version}.tar.gz" | ||
end | ||
|
||
package :git_dependencies do | ||
description 'Git Build Dependencies' | ||
|
||
apt 'git', :dependencies_only => true | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
package :subversion, :provides => :scm do | ||
description 'Subversion Version Control' | ||
|
||
apt 'subversion' | ||
end |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
package :mysql, :provides => :database do | ||
description 'MySQL Database' | ||
|
||
apt %w( mysql-server mysql-client ) | ||
end | ||
|
||
package :mysql_driver do | ||
package :ruby_mysql_driver do | ||
description 'Ruby MySQL database driver' | ||
gem 'mysql' | ||
requires :mysql | ||
|
||
gem 'mysql2' | ||
end |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
## Defines available packages | ||
package :ruby_dependencies do | ||
description 'Ruby Virtual Machine Build Dependencies' | ||
|
||
apt %w( bison zlib1g-dev libssl-dev libreadline5-dev libncurses5-dev file ) | ||
end | ||
|
||
package :ruby do | ||
description 'Ruby Virtual Machine' | ||
version '1.8.6' | ||
patchlevel '369' | ||
source "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-#{version}-p#{patchlevel}.tar.gz" # implicit :style => :gnu | ||
patchlevel = '369' | ||
requires :ruby_dependencies | ||
end | ||
|
||
package :ruby_dependencies do | ||
description 'Ruby Virtual Machine Build Dependencies' | ||
apt %w( bison zlib1g-dev libssl-dev libreadline5-dev libncurses5-dev file ) | ||
|
||
source "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-#{version}-p#{patchlevel}.tar.gz" # implicit :style => :gnu | ||
end | ||
|
||
package :rubygems do | ||
description 'Ruby Gems Package Management System' | ||
version '1.3.5' | ||
version '1.8.23' | ||
requires :ruby | ||
|
||
source "http://rubyforge.org/frs/download.php/60718/rubygems-#{version}.tgz" do | ||
custom_install 'ruby setup.rb' | ||
end | ||
requires :ruby | ||
end | ||
|
||
package :rails do | ||
description 'Ruby on Rails' | ||
version '3.2' | ||
|
||
gem 'rails' | ||
version '2.3.3' | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package :git, :provides => :scm do | ||
description 'Git Distributed Version Control' | ||
version '1.6.3.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 | ||
|
||
package :git, :provides => :scm do | ||
description 'Git Distributed Version Control' | ||
version '1.6.3.3' | ||
requires :git_dependencies | ||
|
||
source "http://kernel.org/pub/software/scm/git/git-#{version}.tar.gz" | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package :sphinx, :provides => :search do | ||
description 'MySQL full text search engine' | ||
version '0.9.8.1' | ||
source "http://www.sphinxsearch.com/downloads/sphinx-#{version}.tar.gz" | ||
requires :mysql_dev | ||
|
||
source "http://www.sphinxsearch.com/downloads/sphinx-#{version}.tar.gz" | ||
end | ||
|
||
package :mysql_dev do | ||
description 'MySQL Database development package' | ||
|
||
apt %w( libmysqlclient15-dev ) | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
package :mongrel do | ||
description 'Mongrel Application Server' | ||
gem 'mongrel' | ||
version '1.1.5' | ||
|
||
gem 'mongrel' | ||
end | ||
|
||
package :mongrel_cluster, :provides => :appserver do | ||
description 'Cluster Management for Mongrel' | ||
gem 'mongrel_cluster' | ||
version '1.0.5' | ||
requires :mongrel | ||
|
||
gem 'mongrel_cluster' | ||
end | ||
|
||
package :apache, :provides => :webserver do | ||
description 'Apache 2 HTTP Server' | ||
version '2.2.11' | ||
requires :apache_dependencies | ||
|
||
source "http://www.apache.org/dist/httpd/httpd-#{version}.tar.bz2" do | ||
enable %w( mods-shared=all proxy proxy-balancer proxy-http rewrite cache headers ssl deflate so ) | ||
prefix "/opt/local/apache2-#{version}" | ||
post :install, 'install -m 755 support/apachectl /etc/init.d/apache2', 'update-rc.d -f apache2 defaults' | ||
end | ||
requires :apache_dependencies | ||
end | ||
|
||
package :apache_dependencies do | ||
description 'Apache 2 HTTP Server Build Dependencies' | ||
|
||
apt %w( openssl libtool mawk zlib1g-dev libssl-dev ) | ||
end |
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