itamae-plugin-recipe-supervisor 0.0.6 → 0.0.7

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: 71d4eb4a9a2ad7b9fc494ef0bca8a7252bb61f1e4a9323b3214a45465cfc8aba
4
- data.tar.gz: 76e09796810947d9707fecf50e8501997cde5732f6a44fc752ccf0746579e119
3
+ metadata.gz: 644244d2bad5c68a969834650c2112ab74f012555b985adf72ea35094cf816b1
4
+ data.tar.gz: ef87936161719c4356ded06f9710d3b8ae4cf45ed8a07f38710bbf77d7946416
5
5
  SHA512:
6
- metadata.gz: 0410af68548f16e604254f4390f67e153568b00d045765703520b38b98fc7c71b75c1cbef87274d6545cf178d2aa554a8f0747b73ba2f77c4ad1c2592e03e761
7
- data.tar.gz: ca135fa9c1e8183e6fe2ee6b734c65c14cc4b4a2d567cb9339b16a40777c776c49180b9288c842b913aa6d5a4042db50ed85c8e25dddd3226297667ed4008c25
6
+ metadata.gz: b335c68edfdb4ab2fc61af074a76537d99d3c0bb4e236a6ceaa9c688e1e5a87339af9a237a8cf7c96649997864410fb6b3cbb8ffe3149223900b2f1d9ee1ac20
7
+ data.tar.gz: 7595ed5cb8bd0a070b2aea02d6dcccd4fefb9b00b85759e5fbe1565eb2c9b77729e8d602900aaf491fd6ea59911eb65a93e8d528175300ce87145e178e65388b
@@ -1,6 +1,6 @@
1
1
  pip 'supervisor' do
2
2
  user 'root'
3
- version '4.0.3'
3
+ version '4.1.0'
4
4
  end
5
5
 
6
6
  template '/etc/supervisord.conf' do
@@ -7,11 +7,13 @@ when /rhel-6\.(.*?)/
7
7
  mode '755'
8
8
  end
9
9
  when /rhel-7\.(.*?)/
10
+ pip_path = run_command('which pip').stdout
10
11
  template '/etc/systemd/system/supervisord.service' do
11
12
  user 'root'
12
13
  owner 'root'
13
14
  group 'root'
14
15
  mode '755'
16
+ variables dir_path: File.dirname(pip_path)
15
17
  end
16
18
 
17
19
  execute 'systemctl daemon-reload' do
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Supervisor
5
- VERSION = '0.0.6'
5
+ VERSION = '0.0.7'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-supervisor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda