capistrano-monit_runit 3.0.2 → 3.0.3
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 +4 -4
- data/VERSION +1 -1
- data/capistrano-monit_runit.gemspec +3 -3
- data/lib/capistrano/tasks/monit.rake +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8bfe1e40dd16616dbc63a50475e6996fb2adc321
|
|
4
|
+
data.tar.gz: 5271e031e87fc00d5c460ce288488b1d78500ec1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 570c1c24a17b5f2a56633d434061401394d26691df6811c10f9d86ca0ba5e86c25e3fa56ce534c53387cdfb08a2e930b9b587fd74f4a4e6cd9c7bfd25ef30c3b
|
|
7
|
+
data.tar.gz: ecbc431e40bc7f3075f79d3790436a9898565cf808fec2684db98086a779d0ae5cf6e7e59c8c4009de948ad2eb3a27c1c180d693885567ceb130a5dbdf68b737
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.3
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: capistrano-monit_runit 3.0.
|
|
5
|
+
# stub: capistrano-monit_runit 3.0.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "capistrano-monit_runit"
|
|
9
|
-
s.version = "3.0.
|
|
9
|
+
s.version = "3.0.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Leif Ringstad"]
|
|
14
|
-
s.date = "2015-08-
|
|
14
|
+
s.date = "2015-08-13"
|
|
15
15
|
s.description = "Helpers for capistrano recipes using runit/monit."
|
|
16
16
|
s.email = "leifcr@gmail.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -102,6 +102,10 @@ namespace :monit do
|
|
|
102
102
|
execute :sudo, :chown, "#{fetch(:user)}:root #{monit_etc_path}"
|
|
103
103
|
execute :sudo, :chmod, "0775 #{monit_etc_path}"
|
|
104
104
|
execute :sudo, :chown, "#{fetch(:user)}:root #{monit_monitrc_file}"
|
|
105
|
+
if test("[ -e #{monit_monitrc_file} ]")
|
|
106
|
+
execute :sudo, :rm, '-f #{monit_monitrc_file}'
|
|
107
|
+
end
|
|
108
|
+
|
|
105
109
|
upload! template_to_s_io(fetch(:monit_monitrc_template)), monit_monitrc_file
|
|
106
110
|
execute :sudo, :chmod, "0700 #{monit_monitrc_file}"
|
|
107
111
|
execute :sudo, :chown, "root:root #{monit_monitrc_file}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-monit_runit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leif Ringstad
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|