itamae-plugin-recipe-daddy 0.1.32 → 0.1.34
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: 2a4ddc90288586b8ccac5cb4c2f5b70c0ea758be0948d0b39828c4b56b451f7b
|
4
|
+
data.tar.gz: 0072edc9f1315d94c2adc338af3e0e52063e84818d1ff92c97a1926175d356e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1e873198056d376e4ef4620849a4053700882f2105db5dfeaa2c7df365407467808b6e0707f04c495bb616a6f6d954e5cc391bcd64380b6045d2b1227d4b74f
|
7
|
+
data.tar.gz: e9057b5a5c71682e7943db616ce9093dd13600adb4384c9ac43f562f8c20e44611dcecbc8cbfd44658f42b5ca5841da4b121697923bd232a8453e917b9254317
|
@@ -7,39 +7,39 @@ 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
|
-
not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "wkhtmltox-#{version}.
|
35
|
+
not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "wkhtmltox-#{version}.centos8_sha256sum.txt")}"
|
36
36
|
end
|
37
37
|
|
38
38
|
execute "install wkhtmltox-#{version}" do
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
dad84a89ece4f425afbb1ca65697511bd91333f884e1cfe1c8fb150ef93a8070 wkhtmltox-0.12.5-1.centos8.x86_64.rpm
|
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.34
|
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
|
@@ -159,13 +158,13 @@ files:
|
|
159
158
|
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf.rb
|
160
159
|
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/install.rb
|
161
160
|
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/wkhtmltox-0.12.5-1.centos7_sha256sum.txt
|
161
|
+
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/wkhtmltox-0.12.5-1.centos8_sha256sum.txt
|
162
162
|
- lib/itamae_plugin_recipe_daddy/daddy.rb
|
163
163
|
- lib/itamae_plugin_recipe_daddy/version.rb
|
164
164
|
homepage: https://github.com/ichylinux/itamae-plugin-recipe-daddy
|
165
165
|
licenses:
|
166
166
|
- MIT
|
167
167
|
metadata: {}
|
168
|
-
post_install_message:
|
169
168
|
rdoc_options: []
|
170
169
|
require_paths:
|
171
170
|
- lib
|
@@ -180,8 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
179
|
- !ruby/object:Gem::Version
|
181
180
|
version: '0'
|
182
181
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
184
|
-
signing_key:
|
182
|
+
rubygems_version: 3.7.1
|
185
183
|
specification_version: 4
|
186
184
|
summary: itamae recipe collections
|
187
185
|
test_files: []
|