poise-monit 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/poise_monit/service_providers/monit.rb +4 -2
- data/lib/poise_monit/version.rb +1 -1
- 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: 8f3875e1a6d9ecb57055263f08a7265b762cd9e1
|
4
|
+
data.tar.gz: 2791b275b9a27c935147791656577d8af6df72b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e621a5911e0eb2648aecf1e442c5a5ca8d8a46f72a136c8001e83dcd6ca737948283d1f28e83979a10c5344727387ff8d223ad6d58000a998781c69c13f8ddcd
|
7
|
+
data.tar.gz: af311dd4e671ecf80f9fdf5099809356927a0d5ab67a119667193f6de4eee1f998fef81ed5e0e1c0066b2d4083bd9afa03b7f305cf62dbe8096b5bfc49078a51
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -44,7 +44,7 @@ end
|
|
44
44
|
|
45
45
|
* `node['poise-monit']['default_recipe']` – Recipe used by the `poise_service`
|
46
46
|
provider to install Monit if not already available. *(default: poise-monit)*
|
47
|
-
* `node['
|
47
|
+
* `node['poise-monit']['provider']` – Default provider for `monit` resource
|
48
48
|
instances. *(default: auto)*
|
49
49
|
* `node['poise-monit']['recipe'][*]` – All subkeys of `'recipe'` will be passed
|
50
50
|
as properties to the `monit` resource before installation.
|
@@ -82,8 +82,10 @@ module PoiseMonit
|
|
82
82
|
|
83
83
|
# Patch Monit behavior in to service creation.
|
84
84
|
def create_service
|
85
|
-
super
|
86
|
-
|
85
|
+
super.tap do |service_template|
|
86
|
+
service_template.cookbook('poise-service')
|
87
|
+
create_monit_config
|
88
|
+
end
|
87
89
|
end
|
88
90
|
|
89
91
|
# Create the Monit configuration file.
|
data/lib/poise_monit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-monit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: halite
|