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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 644244d2bad5c68a969834650c2112ab74f012555b985adf72ea35094cf816b1
|
4
|
+
data.tar.gz: ef87936161719c4356ded06f9710d3b8ae4cf45ed8a07f38710bbf77d7946416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b335c68edfdb4ab2fc61af074a76537d99d3c0bb4e236a6ceaa9c688e1e5a87339af9a237a8cf7c96649997864410fb6b3cbb8ffe3149223900b2f1d9ee1ac20
|
7
|
+
data.tar.gz: 7595ed5cb8bd0a070b2aea02d6dcccd4fefb9b00b85759e5fbe1565eb2c9b77729e8d602900aaf491fd6ea59911eb65a93e8d528175300ce87145e178e65388b
|
@@ -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
|