escualo 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c0951eb874ee119a65eaa91b6d50ab1cb76e058
4
- data.tar.gz: ed03539fd3fecb873a501d5c637cf333743ecbcb
3
+ metadata.gz: 4d810cfadeace91fa3da01f727262afd51728784
4
+ data.tar.gz: 1727137e9e977b53214a53128d8ce52d84df0863
5
5
  SHA512:
6
- metadata.gz: fb5227e4f06f3cd315b4151b26709e00a112451e0639ddfdda5027918e97e4f700b84d6930a66dc888b675a14fcbf319a9e69bfbc0414cc99c77380ffbbc365e
7
- data.tar.gz: 0c97bd4efe4a6b44eda27703e99ebeed1e0e5ff5324259b762eb723ddd4a361012df86a1597aa0553cb089aa4954ddeebeb4cd061e26de2ae5d216b184b55e2c
6
+ metadata.gz: 4d98cc07e4cd95335dcf1cf100dbd1184d95d7e73a72b8a9d15a979a0639372fdff8f6c9612ed39f170749ab5ced9894c8714887081e50b9168d0752201a76ed
7
+ data.tar.gz: 552dc4329fd55dee90c67e22a9d45184dd528a04c9c8c1d0ba851a09b5f441ab67d30965b141fe750e1715b5f592bea716ae7d8ce314fb470ee770770e898390
@@ -49,7 +49,7 @@ command 'artifact create service' do |c|
49
49
  end
50
50
 
51
51
  step 'Configuring upstart...' do
52
- Escualo::Artifact.configure_upstart ssh, name: name, lanunch_comand: launch_command
52
+ Escualo::Artifact.configure_upstart ssh, name: name, launch_command: launch_command
53
53
  end
54
54
 
55
55
  step 'Configuring monit...' do
@@ -4,10 +4,10 @@ command 'rake' do |c|
4
4
  c.ssh_action do |args, options, ssh|
5
5
  name = args.first
6
6
  task = args.second
7
- say ssh.shell.exec! %Q{
7
+ ssh.shell.perform! %Q{
8
8
  cd /var/www/#{name}
9
- bundle exec rake #{task}
10
- }
9
+ rake #{task}
10
+ }, options
11
11
  end
12
12
  end
13
13
 
@@ -1,4 +1,4 @@
1
1
  module Escualo
2
- VERSION = '0.2.11'
2
+ VERSION = '0.2.12'
3
3
  BASE_VERSION = '3.1'
4
4
  end
@@ -1,14 +1,14 @@
1
- description "<%= @name %> configuration"
2
- author "Escualo - via The Mumuki Project"
1
+ description "<%= name %> configuration"
2
+ author "Escualo - via The Mumuki Project"
3
3
 
4
- start on runlevel [2345]
5
- stop on runlevel [!2345]
4
+ start on runlevel [2345]
5
+ stop on runlevel [!2345]
6
6
 
7
- respawn
7
+ respawn
8
8
 
9
- chdir /var/www/<%= @name %>
9
+ chdir /var/www/<%= name %>
10
10
 
11
- script
12
- for var in /root/.escualo/vars/*; do . \\$var; done
13
- <%= @launch_command %>
14
- end script
11
+ script
12
+ for var in /root/.escualo/vars/*; do . $var; done
13
+ <%= launch_command %>
14
+ end script
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escualo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli