escualo 3.1.4 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02870423b3edb33ed39e1b2ccadbb1c33a97f5fd
4
- data.tar.gz: b1d123481c613a43ed401eb121e690eb8d06e58d
3
+ metadata.gz: 25702b3608854ac9ba6db4359cf5d7bad2b5c491
4
+ data.tar.gz: 7fbba7548552ec005a8a9425bf7bf4f3dac6221e
5
5
  SHA512:
6
- metadata.gz: f8b25421c7453acf9e82c84984d08c17c3fa6e9693c2659f3c5960814a7f33bdc852fbc87613b95c034fc3dc8fbbf8931645a10bfae7b81a24f118b510f290b8
7
- data.tar.gz: 766f56a21fb1e8f34b7ef9e6e31f58f788d395544eba5374afd898b9cbebc9e62ee706bba85567607fa967aa46e475a629e9c57982a67d367ede74251ab4d431
6
+ metadata.gz: 24a3964d8355d6ffe880f2be20f6f8deb9d4cc34a8def439485663ffaef2d1b0e1c03ca0e3e772b01c79275673b3e1f45279d10c79e161d373a057a0870280a1
7
+ data.tar.gz: e521c436cc02360fbf00425f6c63c2092c63b208415b34cdc7f5cd79f2c3d1b38d3f0d68b7b0679aa5216994aeed5c9ae33eb324dab8507b0e3f8983147e7fb4
@@ -3,7 +3,10 @@ command 'remote attach' do |c|
3
3
  c.description = "Adds the given artifact to current's repository"
4
4
  c.option '--repo-path PATH', String, 'Sets the git dir'
5
5
 
6
+
6
7
  c.local_session_action do |args, options, session|
8
+ raise 'missing service name!' unless args.first
9
+
7
10
  options.default repo_path: Dir.pwd
8
11
  session_options = Escualo::Session.parse_session_options options
9
12
 
@@ -1,6 +1,8 @@
1
1
  module Escualo::Plugin
2
2
  class Monit
3
3
  def run(session, options)
4
+ raise 'missing monit password!' unless options.monit_password
5
+
4
6
  Escualo::AptGet.install session, 'monit'
5
7
 
6
8
  session.tell_all! 'service monit stop',
@@ -8,6 +10,7 @@ module Escualo::Plugin
8
10
  "wget https://mmonit.com/monit/dist/binary/5.16/monit-#{options.monit_version}-linux-x64.tar.gz",
9
11
  "tar -xzf monit-#{options.monit_version}-linux-x64.tar.gz",
10
12
  "cp monit-#{options.monit_version}/bin/monit /usr/bin/monit",
13
+ 'rm -rf /etc/monitrc',
11
14
  'ln -s /etc/monit/monitrc /etc/monitrc',
12
15
  'service monit start',
13
16
  "echo 'set httpd port 2812 and' > /etc/monit/conf.d/web-server",
@@ -20,4 +23,4 @@ module Escualo::Plugin
20
23
  session.tell!('monit --version').include? 'This is Monit version 5' rescue false
21
24
  end
22
25
  end
23
- end
26
+ end
@@ -1,4 +1,4 @@
1
1
  module Escualo
2
- VERSION = '3.1.4'
2
+ VERSION = '3.1.5'
3
3
  BASE_VERSION = '3.3'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escualo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-21 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander