itamae-plugin-recipe-god 0.2.2 → 0.2.4

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
  SHA256:
3
- metadata.gz: 20d75e8db624117dc098f1152bbac728c06abfc28b352d7b808180fd3e11cbc8
4
- data.tar.gz: 174860937261a299efbbf4d8d8c0e8f5267a71d3d6c8c09746476dfb1ec30756
3
+ metadata.gz: e1b70fe8e84fc466697e182390318c5401c0091aef1cc25b2a3fd83ddbaaf9bc
4
+ data.tar.gz: a7ed4454a7885d23f7952a5a13972acb006313529988f8daf7a91d0c690e2c5b
5
5
  SHA512:
6
- metadata.gz: a271049b6b52314656904daecf6eaca653b5e9dd49c0c2dcb2ba22a78a47603dac9cc891e23eb427dafa9210e82aa6ba22c02ea9f17493655150af258148bf70
7
- data.tar.gz: d3534f024059703907d20d50f43c142bb54ea25cf2361c27e533b14be5a0e9a10d0a4af3260330c35668890d62cc253436a8a4684ef0770acc5681af763dce65
6
+ metadata.gz: a34d4c8b837f40d647a1e65f1fe4a2204445879aafc444b5c3884b39868eda5653c27c221902b860ad2625f82232282a03f7b196a6ae8188303222371384993a
7
+ data.tar.gz: cedce7b9ed154c8a251b2cc3f631528f5f5966183922f0f0063213c8109c9d4a4ac580c939c414013b3fcf3407a70213b7113dac00ef8fa9b0214f6e9f07e2be
@@ -48,8 +48,8 @@ service_variables = {
48
48
  }
49
49
 
50
50
  case "#{node.platform_family}-#{node.platform_version}"
51
- when /rhel-7\.(.*?)/
52
- template '/etc/systemd/system/god.service' do
51
+ when /rhel-6\.(.*?)/
52
+ template '/etc/init.d/god' do
53
53
  user 'root'
54
54
  owner 'root'
55
55
  group 'root'
@@ -57,7 +57,7 @@ when /rhel-7\.(.*?)/
57
57
  variables service_variables
58
58
  end
59
59
  else
60
- template '/etc/init.d/god' do
60
+ template '/etc/systemd/system/god.service' do
61
61
  user 'root'
62
62
  owner 'root'
63
63
  group 'root'
@@ -3,6 +3,7 @@ Description=God: A process monitoring framework in Ruby
3
3
  After=network.target
4
4
 
5
5
  [Service]
6
+ EnvironmentFile=-/etc/sysconfig/god
6
7
  PIDFile=<%= @pid %>
7
8
  ExecStart=<%= `which god`.chomp %> -c <%= @config %> -P <%= @pid %> -l <%= @log %> --log-level <%= @log_level %>
8
9
  ExecStop=<%= `which god`.chomp %> quit
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module God
5
- VERSION = '0.2.2'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-god
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-17 00:00:00.000000000 Z
11
+ date: 2024-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.3.16
119
+ rubygems_version: 3.4.18
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: itamae recipe for god process monitoring framework