poise-service 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kitchen.yml +1 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile +4 -2
- data/lib/poise_service/service_providers/sysvinit.rb +7 -1
- data/lib/poise_service/version.rb +1 -1
- data/test/cookbook/recipes/default.rb +1 -1
- data/test/gemfiles/master.gemfile +1 -1
- metadata +3 -4
- data/.kitchen.travis.yml +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70bac9a58ca4e9151991e6dd844d0b726c199e46
|
4
|
+
data.tar.gz: 9dea9ec820f77fcb19c2e35dacaabd507d4b240e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3a43bd7c116da30a7b8cf55feeaf34622c2ad68fa2112046b662d4e7ddd69f805e4b9e04e9f787e2b13d33e66b652bbc8b66cde7ddc03bf4bc37252509fddc
|
7
|
+
data.tar.gz: f6abcc0ef77e295afd954b662aa6dfc280bf8cdbcc759017593753602760b9fdbe9173853e459a8d5be7f20aff60e48bbac809024e10d8986021cc26fd5f7b13
|
data/.kitchen.yml
CHANGED
data/.travis.yml
CHANGED
@@ -5,11 +5,11 @@ rvm:
|
|
5
5
|
- '2.2'
|
6
6
|
env:
|
7
7
|
global:
|
8
|
-
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml
|
9
8
|
- RACKSPACE_USERNAME=coderanger
|
10
9
|
- secure: XpFA4AwBW5v4o3IuwKVSCTeVr6jXsW13T6ShGPpru4q+W2Zpcwh1qyBbxkkIWlkNjbhAT7G0HzQOqYcvUssYLEUYUNSlN10hxjpTZxvVj5sGjjhS3iTXbSop0NXzQthNRHfVZeK9ZWc+zP1MHGImjGCkErkin1+vu/SwMfIl2/8=
|
11
10
|
- secure: k36byJyrxjPXKqMjlhojJJwA3iTgVcy1z8zJzUMf0v6JGLsbLbMLfOxkTwIhuLZ3mFEQHvv0TZ8rm84Mg8pYb95fChF2rZNHasRDDB5rFBd++HaYirSC0kndXpZ5gLBhSZXggDv8ROANgKwgWmI0PDDZz96rR/tPDD7edZIvgfc=
|
12
11
|
- secure: OZhgvnu2op+rxg6ECSYlWGwaD1xIyOhzQtxqwzA4F/59RiR667JWaSTAmdEDN6SKmrqphxmZatzDEVXLaidbzAC0yAVv7zt4JbkLLZwmLFpq0YL+128sjgI4iUXomJhLxFqZyl8xmDhbu2pZLVyIR0S5Y0VUnu4kTmKDpvBwYsA=
|
12
|
+
before_install: "gem install bundler"
|
13
13
|
bundler_args: "--binstubs=$PWD/bin --jobs 3 --retry 3"
|
14
14
|
script:
|
15
15
|
- "./bin/rake travis"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Poise-Service Changelog
|
2
2
|
|
3
|
+
## v1.1.2
|
4
|
+
|
5
|
+
* [#22](https://github.com/poise/poise-service/pull/22) Set all script commands
|
6
|
+
for the `sysvinit` provider. This should fix compatibility with EL5.
|
7
|
+
|
3
8
|
## v1.1.1
|
4
9
|
|
5
10
|
* Fix an incorrect value in `poise_service_test`. This is not relevant to
|
data/Gemfile
CHANGED
@@ -18,14 +18,16 @@ source 'https://rubygems.org/'
|
|
18
18
|
|
19
19
|
gemspec path: File.expand_path('..', __FILE__)
|
20
20
|
|
21
|
-
def dev_gem(name, path: File.join('..', name))
|
21
|
+
def dev_gem(name, path: File.join('..', name), github: nil)
|
22
22
|
path = File.expand_path(File.join('..', path), __FILE__)
|
23
23
|
if File.exist?(path)
|
24
24
|
gem name, path: path
|
25
|
+
elsif github
|
26
|
+
gem name, github: github
|
25
27
|
end
|
26
28
|
end
|
27
29
|
|
28
30
|
dev_gem 'halite'
|
29
31
|
dev_gem 'poise'
|
30
|
-
dev_gem 'poise-boiler'
|
32
|
+
dev_gem 'poise-boiler', github: 'poise/poise-boiler'
|
31
33
|
dev_gem 'poise-profiler'
|
@@ -40,10 +40,16 @@ module PoiseService
|
|
40
40
|
when 'rhel'
|
41
41
|
Chef::Provider::Service::Redhat
|
42
42
|
else
|
43
|
-
#
|
43
|
+
# Better than nothing I guess? Will fail on enable I think.
|
44
44
|
Chef::Provider::Service::Init
|
45
45
|
end)
|
46
46
|
r.init_command(script_path)
|
47
|
+
# Pending https://github.com/chef/chef/pull/4709.
|
48
|
+
r.start_command("#{script_path} start")
|
49
|
+
r.stop_command("#{script_path} stop")
|
50
|
+
r.status_command("#{script_path} status")
|
51
|
+
r.restart_command("#{script_path} restart")
|
52
|
+
r.reload_command("#{script_path} reload")
|
47
53
|
end
|
48
54
|
end
|
49
55
|
|
@@ -19,5 +19,5 @@ eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
|
19
19
|
gem 'chef', github: 'chef/chef'
|
20
20
|
gem 'halite', github: 'poise/halite'
|
21
21
|
gem 'poise', github: 'poise/poise'
|
22
|
-
gem 'poise-boiler', github: 'poise/poise-boiler'
|
22
|
+
# gem 'poise-boiler', github: 'poise/poise-boiler'
|
23
23
|
gem 'poise-profiler', github: 'poise/poise-profiler'
|
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.1.
|
4
|
+
version: 1.1.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-
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: halite
|
@@ -74,7 +74,6 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
|
-
- ".kitchen.travis.yml"
|
78
77
|
- ".kitchen.yml"
|
79
78
|
- ".travis.yml"
|
80
79
|
- ".yardopts"
|
@@ -148,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
147
|
version: '0'
|
149
148
|
requirements: []
|
150
149
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.5.2
|
152
151
|
signing_key:
|
153
152
|
specification_version: 4
|
154
153
|
summary: A Chef cookbook for managing system services.
|
data/.kitchen.travis.yml
DELETED