recipiez 0.6.20 → 0.6.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/recipiez/version.rb +1 -1
  2. data/recipes/node.rb +13 -2
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.6.20'
2
+ VERSION = '0.6.21'
3
3
  end
data/recipes/node.rb CHANGED
@@ -12,8 +12,8 @@ Capistrano::Configuration.instance(true).load do
12
12
  sudo "mv #{application}.conf /etc/init/#{application}.conf"
13
13
  end
14
14
 
15
- desc "Install the nodejs components to the server"
16
- task :setup do
15
+ desc "Install the nodejs components to the server, ec2 only!"
16
+ task :setup_ec2 do
17
17
  recipiez::setup
18
18
  nginx::nodejs
19
19
  node::generate_upstart
@@ -23,6 +23,17 @@ Capistrano::Configuration.instance(true).load do
23
23
  recipiez::libxml
24
24
  end
25
25
 
26
+ desc "Install nodejs non ec2"
27
+ task :setup do
28
+ recipiez::setup
29
+ nginx::nodejs
30
+ node::generate_upstart
31
+ monit::node
32
+ logrotate::configure
33
+ recipiez::bundler
34
+ recipiez::libxml
35
+ end
36
+
26
37
  end
27
38
 
28
39
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 20
9
- version: 0.6.20
8
+ - 21
9
+ version: 0.6.21
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-09-21 00:00:00 +02:00
17
+ date: 2014-09-25 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency