itamae-plugin-recipe-daddy 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f0c12b78e74fc444fe39cf5aa4051e8313f8c313cd8adffdf241cfa1ba2f3c8
|
4
|
+
data.tar.gz: 5542980727aefce9ecd1492abce3bc7c1a0fbeca6a3a9bd9ccf9ecd7d1a7ec50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5b004dd2facc52d076befcbcfa2ac00439284fd72a672ee0b744fb62fcbc2eef34971a48fa51d1d302d039ebe5a4eb9dad8e55cf7a2bd868518ef4a32efc54e
|
7
|
+
data.tar.gz: 36adeca68c0ab53cb29c7398a677fd09bce100672120e5b021f8bed32fe36c22805f768d33375022e8459e535424819bbf4d2694f6dbee0654c62fe572c75edc
|
@@ -7,30 +7,30 @@ directory '/var/daddy/tmp' do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
case os_version
|
10
|
-
when /rhel-
|
10
|
+
when /rhel-7\.(.*?)/
|
11
11
|
execute "download wkhtmltox-#{version}" do
|
12
12
|
cwd '/var/daddy/tmp'
|
13
13
|
command <<-EOF
|
14
|
-
rm -f wkhtmltox-#{version}.
|
15
|
-
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/#{version.split('-').first}/wkhtmltox-#{version}.
|
14
|
+
rm -f wkhtmltox-#{version}.centos7.x86_64.rpm
|
15
|
+
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/#{version.split('-').first}/wkhtmltox-#{version}.centos7.x86_64.rpm
|
16
16
|
EOF
|
17
|
-
not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "wkhtmltox-#{version}.
|
17
|
+
not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "wkhtmltox-#{version}.centos7_sha256sum.txt")}"
|
18
18
|
end
|
19
19
|
|
20
20
|
execute "install wkhtmltox-#{version}" do
|
21
21
|
cwd '/var/daddy/tmp'
|
22
22
|
user 'root'
|
23
23
|
command <<-EOF
|
24
|
-
yum install -y wkhtmltox-#{version}.
|
24
|
+
yum install -y wkhtmltox-#{version}.centos7.x86_64.rpm
|
25
25
|
EOF
|
26
|
-
not_if "yum info wkhtmltox | grep Version | grep #{version}"
|
26
|
+
not_if "yum info wkhtmltox | grep Version | grep #{version.split('-').first}"
|
27
27
|
end
|
28
|
-
when /rhel-
|
28
|
+
when /rhel-8\.(.*?)/
|
29
29
|
execute "download wkhtmltox-#{version}" do
|
30
30
|
cwd '/var/daddy/tmp'
|
31
31
|
command <<-EOF
|
32
|
-
rm -f wkhtmltox-#{version}.
|
33
|
-
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/#{version.split('-').first}/wkhtmltox-#{version}.
|
32
|
+
rm -f wkhtmltox-#{version}.centos8.x86_64.rpm
|
33
|
+
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/#{version.split('-').first}/wkhtmltox-#{version}.centos8.x86_64.rpm
|
34
34
|
EOF
|
35
35
|
not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "wkhtmltox-#{version}.centos7_sha256sum.txt")}"
|
36
36
|
end
|
@@ -39,7 +39,7 @@ when /rhel-7\.(.*?)/
|
|
39
39
|
cwd '/var/daddy/tmp'
|
40
40
|
user 'root'
|
41
41
|
command <<-EOF
|
42
|
-
yum install -y wkhtmltox-#{version}.
|
42
|
+
yum install -y wkhtmltox-#{version}.centos8.x86_64.rpm
|
43
43
|
EOF
|
44
44
|
not_if "yum info wkhtmltox | grep Version | grep #{version.split('-').first}"
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: itamae
|
@@ -165,7 +164,6 @@ homepage: https://github.com/ichylinux/itamae-plugin-recipe-daddy
|
|
165
164
|
licenses:
|
166
165
|
- MIT
|
167
166
|
metadata: {}
|
168
|
-
post_install_message:
|
169
167
|
rdoc_options: []
|
170
168
|
require_paths:
|
171
169
|
- lib
|
@@ -180,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
178
|
- !ruby/object:Gem::Version
|
181
179
|
version: '0'
|
182
180
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
184
|
-
signing_key:
|
181
|
+
rubygems_version: 3.7.1
|
185
182
|
specification_version: 4
|
186
183
|
summary: itamae recipe collections
|
187
184
|
test_files: []
|