poise-service 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kitchen.yml +0 -6
- data/.travis.yml +1 -6
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -1
- data/README.md +6 -4
- data/Rakefile +1 -1
- data/chef/attributes/default.rb +1 -1
- data/lib/poise_service/cheftie.rb +1 -1
- data/lib/poise_service/error.rb +1 -1
- data/lib/poise_service/resources/poise_service.rb +1 -1
- data/lib/poise_service/resources/poise_service_test.rb +2 -2
- data/lib/poise_service/resources/poise_service_user.rb +1 -1
- data/lib/poise_service/resources.rb +1 -1
- data/lib/poise_service/service_mixin.rb +1 -1
- data/lib/poise_service/service_providers/base.rb +1 -1
- data/lib/poise_service/service_providers/dummy.rb +1 -1
- data/lib/poise_service/service_providers/inittab.rb +1 -1
- data/lib/poise_service/service_providers/systemd.rb +1 -1
- data/lib/poise_service/service_providers/sysvinit.rb +1 -1
- data/lib/poise_service/service_providers/upstart.rb +1 -1
- data/lib/poise_service/service_providers.rb +1 -1
- data/lib/poise_service/utils.rb +1 -1
- data/lib/poise_service/version.rb +2 -2
- data/lib/poise_service.rb +1 -1
- data/poise-service.gemspec +2 -2
- data/test/{cookbooks/poise-service_test → cookbook}/metadata.rb +1 -1
- data/test/{cookbooks/poise-service_test → cookbook}/providers/mixin.rb +1 -1
- data/test/{cookbooks/poise-service_test → cookbook}/recipes/default.rb +3 -1
- data/test/{cookbooks/poise-service_test → cookbook}/recipes/mixin.rb +1 -1
- data/test/{cookbooks/poise-service_test → cookbook}/resources/mixin.rb +1 -1
- data/test/gemfiles/chef-12.gemfile +1 -1
- data/test/gemfiles/master.gemfile +2 -1
- data/test/integration/default/serverspec/Gemfile +1 -1
- data/test/integration/default/serverspec/default_spec.rb +1 -1
- data/test/integration/default/serverspec/mixin_spec.rb +1 -1
- data/test/spec/resources/poise_service_spec.rb +1 -1
- data/test/spec/resources/poise_service_user_spec.rb +1 -1
- data/test/spec/service_mixin_spec.rb +1 -1
- data/test/spec/service_providers/base_spec.rb +1 -1
- data/test/spec/service_providers/dummy_spec.rb +1 -1
- data/test/spec/service_providers/inittab_spec.rb +1 -1
- data/test/spec/service_providers/systemd_spec.rb +1 -1
- data/test/spec/service_providers/sysvinit_spec.rb +1 -1
- data/test/spec/service_providers/upstart_spec.rb +1 -1
- data/test/spec/spec_helper.rb +1 -1
- data/test/spec/utils_spec.rb +1 -1
- metadata +14 -15
- data/Berksfile +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e7b5904e7e55db9f56d4da88ecbc2fb34eb50a0
|
4
|
+
data.tar.gz: eb6cdc8592d4dbeeb9ca111016231a15a18d4cee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c407b3fd6bcd1aa3181c89413c5ca2ce75a77aa76de54ca4c5241cba25697ee8d14a7bfa0ad6756821d19b24bce75ea0d1eea0cf2f4cf70a0d1a4b714d4953b5
|
7
|
+
data.tar.gz: 48660307b13f4d260b223d65739e1b51f50e67fc39623c498a9600525bf8e36f0ace8e8b49cfcf77bda4cdd4572434a910870830c1f8eb968b66d44cb875b146
|
data/.kitchen.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
sudo: false
|
2
2
|
cache: bundler
|
3
3
|
language: ruby
|
4
|
-
addons:
|
5
|
-
apt:
|
6
|
-
packages:
|
7
|
-
- libgecode-dev
|
8
4
|
rvm:
|
9
|
-
- 2.
|
5
|
+
- '2.2'
|
10
6
|
env:
|
11
7
|
global:
|
12
|
-
- USE_SYSTEM_GECODE=true
|
13
8
|
- KITCHEN_LOCAL_YAML=.kitchen.travis.yml
|
14
9
|
- RACKSPACE_USERNAME=coderanger
|
15
10
|
- secure: XpFA4AwBW5v4o3IuwKVSCTeVr6jXsW13T6ShGPpru4q+W2Zpcwh1qyBbxkkIWlkNjbhAT7G0HzQOqYcvUssYLEUYUNSlN10hxjpTZxvVj5sGjjhS3iTXbSop0NXzQthNRHfVZeK9ZWc+zP1MHGImjGCkErkin1+vu/SwMfIl2/8=
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -28,3 +28,4 @@ end
|
|
28
28
|
dev_gem 'halite'
|
29
29
|
dev_gem 'poise'
|
30
30
|
dev_gem 'poise-boiler'
|
31
|
+
dev_gem 'poise-profiler'
|
data/README.md
CHANGED
@@ -43,10 +43,12 @@ framework is used.
|
|
43
43
|
|
44
44
|
### What service management frameworks are supported?
|
45
45
|
|
46
|
-
* SysV (aka /etc/init.d)
|
47
|
-
* Upstart
|
48
|
-
* systemd
|
46
|
+
* [SysV (aka /etc/init.d)](#sysvinit)
|
47
|
+
* [Upstart](#upstart)
|
48
|
+
* [systemd](#systemd)
|
49
|
+
* [Inittab](#inittab)
|
49
50
|
* [Runit](https://github.com/poise/poise-service-runit)
|
51
|
+
* [Monit](https://github.com/poise/poise-monit#service-provider)
|
50
52
|
* [Solaris](https://github.com/sh9189/poise-service-solaris)
|
51
53
|
* [AIX](https://github.com/johnbellone/poise-service-aix)
|
52
54
|
* *Supervisor (coming soon!)*
|
@@ -393,7 +395,7 @@ The Poise test server infrastructure is sponsored by [Rackspace](https://rackspa
|
|
393
395
|
|
394
396
|
## License
|
395
397
|
|
396
|
-
Copyright 2015, Noah Kantrowitz
|
398
|
+
Copyright 2015-2016, Noah Kantrowitz
|
397
399
|
|
398
400
|
Licensed under the Apache License, Version 2.0 (the "License");
|
399
401
|
you may not use this file except in compliance with the License.
|
data/Rakefile
CHANGED
data/chef/attributes/default.rb
CHANGED
data/lib/poise_service/error.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -47,7 +47,7 @@ module PoiseService
|
|
47
47
|
# @!attribute service_options
|
48
48
|
# Service options to set for the test group.
|
49
49
|
# @return [Hash, nil]
|
50
|
-
attribute(:service_options, kind_of: [Hash,
|
50
|
+
attribute(:service_options, kind_of: [Hash, NilClass])
|
51
51
|
# @!attribute base_port
|
52
52
|
# Port number to start from for the test group.
|
53
53
|
# @return [Integer]
|
data/lib/poise_service/utils.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -16,5 +16,5 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
module PoiseService
|
19
|
-
VERSION = '1.1.
|
19
|
+
VERSION = '1.1.1'
|
20
20
|
end
|
data/lib/poise_service.rb
CHANGED
data/poise-service.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency 'poise', '~> 2.0'
|
38
38
|
|
39
39
|
spec.add_development_dependency 'kitchen-rackspace', '~> 0.14'
|
40
|
-
spec.add_development_dependency 'poise-boiler', '~> 1.
|
40
|
+
spec.add_development_dependency 'poise-boiler', '~> 1.6'
|
41
41
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -59,3 +59,5 @@ poise_service_test 'dummy' do
|
|
59
59
|
service_provider :dummy
|
60
60
|
base_port 9000
|
61
61
|
end
|
62
|
+
|
63
|
+
include_recipe 'poise_service_test::mixin'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
2
|
+
# Copyright 2015-2016, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -20,3 +20,4 @@ gem 'chef', github: 'chef/chef'
|
|
20
20
|
gem 'halite', github: 'poise/halite'
|
21
21
|
gem 'poise', github: 'poise/poise'
|
22
22
|
gem 'poise-boiler', github: 'poise/poise-boiler'
|
23
|
+
gem 'poise-profiler', github: 'poise/poise-profiler'
|
data/test/spec/spec_helper.rb
CHANGED
data/test/spec/utils_spec.rb
CHANGED
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.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: 2016-01-
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: halite
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.6'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
68
|
+
version: '1.6'
|
69
69
|
description: A Chef cookbook for managing system services.
|
70
70
|
email:
|
71
71
|
- noah@coderanger.net
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- ".kitchen.yml"
|
79
79
|
- ".travis.yml"
|
80
80
|
- ".yardopts"
|
81
|
-
- Berksfile
|
82
81
|
- CHANGELOG.md
|
83
82
|
- Gemfile
|
84
83
|
- LICENSE
|
@@ -108,11 +107,11 @@ files:
|
|
108
107
|
- lib/poise_service/utils.rb
|
109
108
|
- lib/poise_service/version.rb
|
110
109
|
- poise-service.gemspec
|
111
|
-
- test/
|
112
|
-
- test/
|
113
|
-
- test/
|
114
|
-
- test/
|
115
|
-
- test/
|
110
|
+
- test/cookbook/metadata.rb
|
111
|
+
- test/cookbook/providers/mixin.rb
|
112
|
+
- test/cookbook/recipes/default.rb
|
113
|
+
- test/cookbook/recipes/mixin.rb
|
114
|
+
- test/cookbook/resources/mixin.rb
|
116
115
|
- test/gemfiles/chef-12.gemfile
|
117
116
|
- test/gemfiles/master.gemfile
|
118
117
|
- test/integration/default/serverspec/Gemfile
|
@@ -154,11 +153,11 @@ signing_key:
|
|
154
153
|
specification_version: 4
|
155
154
|
summary: A Chef cookbook for managing system services.
|
156
155
|
test_files:
|
157
|
-
- test/
|
158
|
-
- test/
|
159
|
-
- test/
|
160
|
-
- test/
|
161
|
-
- test/
|
156
|
+
- test/cookbook/metadata.rb
|
157
|
+
- test/cookbook/providers/mixin.rb
|
158
|
+
- test/cookbook/recipes/default.rb
|
159
|
+
- test/cookbook/recipes/mixin.rb
|
160
|
+
- test/cookbook/resources/mixin.rb
|
162
161
|
- test/gemfiles/chef-12.gemfile
|
163
162
|
- test/gemfiles/master.gemfile
|
164
163
|
- test/integration/default/serverspec/Gemfile
|
data/Berksfile
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015, Noah Kantrowitz
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
|
17
|
-
source 'https://supermarket.chef.io/'
|
18
|
-
extension 'halite'
|
19
|
-
|
20
|
-
# Force the rebuild every time for development.
|
21
|
-
cookbook 'poise', gem: 'poise'
|
22
|
-
cookbook 'poise-service', gem: 'poise-service'
|
23
|
-
|
24
|
-
group :test do
|
25
|
-
cookbook 'poise-service_test', path: 'test/cookbooks/poise-service_test'
|
26
|
-
cookbook 'apt'
|
27
|
-
end
|