poise-service 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/poise_service/resources/poise_service.rb +2 -1
- data/lib/poise_service/version.rb +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19ac4e7234269bdbef35c490936ccf490ac35617
|
4
|
+
data.tar.gz: 142369bfa25095a9f383fb011608481fc861a6d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6da85709d79589eb70e2e3483473cce141231f1b836ff8a6e45b172386360f79ec1c1eda1a60978a6938ddb99c7667d4127bcd8e5f9efd8048dcaeb125827070
|
7
|
+
data.tar.gz: e389aa918481ec598c1cbcac9bbbff271945b635809eb849fa869642c01c51fce643067555f7597ffe01b264c8f86541c896a08c6f95aacf665a3c15aff9cec9
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -355,7 +355,7 @@ end
|
|
355
355
|
```
|
356
356
|
|
357
357
|
See [the poise_service_test_mixin resource](test/cookbooks/poise-service_test/resources/mixin.rb)
|
358
|
-
and [provider](test/cookbooks/poise-service_test/
|
358
|
+
and [provider](test/cookbooks/poise-service_test/providers/mixin.rb) for
|
359
359
|
examples of using `ServiceMixin` in an LWRP.
|
360
360
|
|
361
361
|
## Sponsors
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
require 'etc'
|
18
18
|
|
19
|
+
require 'chef/mash'
|
19
20
|
require 'chef/resource'
|
20
21
|
require 'poise'
|
21
22
|
|
@@ -71,7 +72,7 @@ module PoiseService
|
|
71
72
|
# @!attribute environment
|
72
73
|
# Environment variables for the service.
|
73
74
|
# @return [Hash]
|
74
|
-
attribute(:environment, kind_of: Hash, default: {})
|
75
|
+
attribute(:environment, kind_of: Hash, default: lazy { Mash.new })
|
75
76
|
# @!attribute stop_signal
|
76
77
|
# Signal to use to stop the service. Some systems will fall back to
|
77
78
|
# KILL if this signal fails to stop the process. Defaults to TERM.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: halite
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- ".travis.yml"
|
80
80
|
- ".yardopts"
|
81
81
|
- Berksfile
|
82
|
+
- CHANGELOG.md
|
82
83
|
- Gemfile
|
83
84
|
- LICENSE
|
84
85
|
- README.md
|