provizioning 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Provizioning
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  upstream <%= domain_name.sub(".", "_") %> {
2
- server unix:/tmp/<%= domain_name %>_<%= app_env %>.sock fail_timeout=0;
2
+ server unix:/tmp/<%= application %>.sock fail_timeout=0;
3
3
  }
4
4
 
5
5
  server {
@@ -18,20 +18,22 @@ pushd $(mktemp -d /tmp/stows-ruby.XXXXXXXXXX)
18
18
  tar xzf yaml-0.1.4.tar.gz
19
19
  cd yaml-0.1.4
20
20
  ./configure --prefix=$PREFIX
21
- make && make install
21
+ make install
22
22
  popd
23
23
 
24
24
  pushd $(mktemp -d /tmp/stows-ruby.XXXXXXXXXX)
25
25
  curl -O http://ftp.ruby-lang.org/pub/ruby/1.9/$PACKAGE.tar.gz
26
26
  tar xzf $PACKAGE.tar.gz
27
27
  cd $PACKAGE
28
- ./configure --prefix=$PREFIX --enable-shared --disable-install-doc --with-opt-dir=$PACKAGES_PATH/lib
29
- make && make install
28
+ ./configure --prefix=$PREFIX --disable-install-doc
29
+ make install
30
30
  popd
31
31
 
32
- # Install latest RubyGems.
32
+ # Install latest RubyGems and install basic gems.
33
33
  pushd $PREFIX
34
34
  ./bin/gem update --system
35
+ ./bin/gem install bundler --pre --no-ri --no-rdoc
36
+ ./bin/gem install rake --no-ri --no-rdoc
35
37
  popd
36
38
 
37
39
  stow -d $STOW_PATH -t $PACKAGES_PATH $PACKAGE
@@ -14,11 +14,8 @@ class ruby($version = 'ruby-1.9.3-p0') {
14
14
  }
15
15
 
16
16
  # Dependencies
17
- $packagelist = ['sqlite3', 'libsqlite3-dev']
17
+ $packagelist = ['sqlite3', 'libsqlite3-dev', 'libreadline-dev', 'libxml2', 'libxml2-dev', 'libxslt', 'libxslt-dev', 'build-essential', 'libcurl4-openssl-dev']
18
18
  package { $packagelist:
19
19
  ensure => installed
20
20
  }
21
-
22
- if ! defined(Package['build-essential']) { package { 'build-essential': ensure => installed } }
23
- if ! defined(Package['libcurl4-openssl-dev']) { package { 'libcurl4-openssl-dev': ensure => installed } }
24
21
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provizioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-30 00:00:00.000000000 Z
12
+ date: 2012-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70290857538020 !ruby/object:Gem::Requirement
16
+ requirement: &70341653999120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70290857538020
24
+ version_requirements: *70341653999120
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano-ext
27
- requirement: &70290857537500 !ruby/object:Gem::Requirement
27
+ requirement: &70341653998260 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70290857537500
35
+ version_requirements: *70341653998260
36
36
  description: Server provisioning tools, recipes and templates based on Sprinkle
37
37
  email:
38
38
  - victor.castell@season.es