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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e7b5904e7e55db9f56d4da88ecbc2fb34eb50a0
4
- data.tar.gz: eb6cdc8592d4dbeeb9ca111016231a15a18d4cee
3
+ metadata.gz: 70bac9a58ca4e9151991e6dd844d0b726c199e46
4
+ data.tar.gz: 9dea9ec820f77fcb19c2e35dacaabd507d4b240e
5
5
  SHA512:
6
- metadata.gz: c407b3fd6bcd1aa3181c89413c5ca2ce75a77aa76de54ca4c5241cba25697ee8d14a7bfa0ad6756821d19b24bce75ea0d1eea0cf2f4cf70a0d1a4b714d4953b5
7
- data.tar.gz: 48660307b13f4d260b223d65739e1b51f50e67fc39623c498a9600525bf8e36f0ace8e8b49cfcf77bda4cdd4572434a910870830c1f8eb968b66d44cb875b146
6
+ metadata.gz: 7b3a43bd7c116da30a7b8cf55feeaf34622c2ad68fa2112046b662d4e7ddd69f805e4b9e04e9f787e2b13d33e66b652bbc8b66cde7ddc03bf4bc37252509fddc
7
+ data.tar.gz: f6abcc0ef77e295afd954b662aa6dfc280bf8cdbcc759017593753602760b9fdbe9173853e459a8d5be7f20aff60e48bbac809024e10d8986021cc26fd5f7b13
data/.kitchen.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  #<% require 'poise_boiler' %>
3
- <%= PoiseBoiler.kitchen(platforms: %w{linux centos-5}) %>
3
+ <%= PoiseBoiler.kitchen(platforms: %w{linux centos-5}, driver: 'rackspace') %>
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
- # This will explode later in the template, but better than nothing for later.
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
 
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseService
19
- VERSION = '1.1.1'
19
+ VERSION = '1.1.2'
20
20
  end
@@ -60,4 +60,4 @@ poise_service_test 'dummy' do
60
60
  base_port 9000
61
61
  end
62
62
 
63
- include_recipe 'poise_service_test::mixin'
63
+ include_recipe 'poise-service_test::mixin'
@@ -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.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-01-29 00:00:00.000000000 Z
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.4.8
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
@@ -1,4 +0,0 @@
1
- ---
2
- driver:
3
- name: rackspace
4
- flavor_id: general1-1