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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0569ac85b8e5379239efd1b5d18d372a30f25a42
4
- data.tar.gz: d5734ab698444d5eb87151e1a67ac34b8cc86331
3
+ metadata.gz: 8f3875e1a6d9ecb57055263f08a7265b762cd9e1
4
+ data.tar.gz: 2791b275b9a27c935147791656577d8af6df72b0
5
5
  SHA512:
6
- metadata.gz: 3a2b26696c0e3c754ea5b06b1024093cb013884814a11c5268bfd3557eab2e9beac9d2a633778126edc1f1562b96ba578e9f3601fedf02bf34d268d1ac5d6e1e
7
- data.tar.gz: 8ab18e143ca411fbf02f0902b6542b84e9f437fa36d5a58ae928ab4f41b5db42dfe3b105f8608553732d26fa3e75d29103f5205c6e6894433edd05265d10f201
6
+ metadata.gz: e621a5911e0eb2648aecf1e442c5a5ca8d8a46f72a136c8001e83dcd6ca737948283d1f28e83979a10c5344727387ff8d223ad6d58000a998781c69c13f8ddcd
7
+ data.tar.gz: af311dd4e671ecf80f9fdf5099809356927a0d5ab67a119667193f6de4eee1f998fef81ed5e0e1c0066b2d4083bd9afa03b7f305cf62dbe8096b5bfc49078a51
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Poise-Monit Changelog
2
2
 
3
+ ## v1.5.2
4
+
5
+ * Compat fix for poise-service 1.3.1.
6
+
3
7
  ## v1.5.1
4
8
 
5
9
  * Make the `monit_template` option from 1.5.0 actually work.
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['pose-monit']['provider']` – Default provider for `monit` resource
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
- create_monit_config
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.
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseMonit
19
- VERSION = '1.5.1'
19
+ VERSION = '1.5.2'
20
20
  end
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.1
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-03 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: halite