itamae-plugin-recipe-redmine 0.2.10 → 0.2.12
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 +4 -4
- data/.gitignore +1 -0
- data/lib/itamae/plugin/recipe/redmine/default.rb +25 -27
- data/lib/itamae/plugin/recipe/redmine/redmine-5.1.9_sha256sum.txt +1 -0
- data/lib/itamae/plugin/recipe/redmine/redmine-6.1.3_sha256sum.txt +1 -0
- data/lib/itamae/plugin/recipe/redmine/version.rb +4 -4
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8280c6031fc3c42b147071fe2e0bea71b75cd2ba055300a427651acac22cfd0e
|
|
4
|
+
data.tar.gz: bf99f3e5b98f5e48cd2e70b496cb17ccabb7ec15bea80f1b0ff19b7f611ccdf7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 159534970202be470dc18f0c82e837a8f74352efe4a83e7e530e59b74e274036e5d75d5e4307b57abd5d0842cba2f3786b25fcf962a56605f1c0ec5345ed1521
|
|
7
|
+
data.tar.gz: 79af65e4aa5739b68291f2371e0cc145a489780b18f0ca89f65a8ec86afe58d8ef695b3ff845913243a2d20a598324299db4e8c70a581f71f53d010fae11f3a9
|
data/.gitignore
CHANGED
|
@@ -16,45 +16,43 @@ insecure = ENV['INSECURE'] ? '--no-check-certificate' : ''
|
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
%w{
|
|
22
|
-
ipa-pgothic-fonts
|
|
23
|
-
}.each do |name|
|
|
19
|
+
install_fonts = ->(fonts) {
|
|
20
|
+
fonts.each do |name|
|
|
24
21
|
package name do
|
|
25
22
|
user 'root'
|
|
26
23
|
end
|
|
27
24
|
end
|
|
25
|
+
}
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
ImageMagick-devel
|
|
32
|
-
}.each do |name|
|
|
27
|
+
install_imagemagick_with_epel = -> {
|
|
28
|
+
%w[ImageMagick ImageMagick-devel].each do |name|
|
|
33
29
|
package name do
|
|
34
30
|
user 'root'
|
|
35
31
|
options '--enablerepo=epel'
|
|
36
32
|
end
|
|
37
33
|
end
|
|
38
|
-
|
|
39
|
-
%w{
|
|
40
|
-
google-noto-sans-cjk-jp-fonts
|
|
41
|
-
}.each do |name|
|
|
42
|
-
package name do
|
|
43
|
-
user 'root'
|
|
44
|
-
end
|
|
45
|
-
end
|
|
34
|
+
}
|
|
46
35
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
36
|
+
# platform_familyを自前で実装
|
|
37
|
+
platform_family = case node.platform
|
|
38
|
+
when 'centos', 'redhat', 'amazon', 'almalinux', 'rocky'
|
|
39
|
+
'rhel'
|
|
40
|
+
when 'ubuntu', 'debian'
|
|
41
|
+
'debian'
|
|
42
|
+
else
|
|
43
|
+
raise "未知のplatform: #{node.platform}"
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
platform_key = "#{platform_family}-#{node.platform_version}"
|
|
47
|
+
|
|
48
|
+
if platform_key.match?(/rhel-7\./)
|
|
49
|
+
install_fonts.call(%w[ipa-pgothic-fonts])
|
|
50
|
+
install_imagemagick_with_epel.call
|
|
51
|
+
elsif platform_key.match?(/rhel-8\./)
|
|
52
|
+
install_fonts.call(%w[google-noto-sans-cjk-jp-fonts])
|
|
53
|
+
install_imagemagick_with_epel.call
|
|
56
54
|
else
|
|
57
|
-
raise
|
|
55
|
+
raise "サポート対象外のOSです。"
|
|
58
56
|
end
|
|
59
57
|
|
|
60
58
|
directory '/opt/redmine' do
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cc0ddafa6fe6f5192236a27cec64e3466023a12c92c1da4abb680248639f678c redmine-5.1.9.tar.gz
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
61db3008c7fd18a3afc559ed656fd38fdf8df8220ac69598b319095183190b7a redmine-6.1.3.tar.gz
|
|
@@ -2,12 +2,12 @@ module Itamae
|
|
|
2
2
|
module Plugin
|
|
3
3
|
module Recipe
|
|
4
4
|
module Redmine
|
|
5
|
-
VERSION = '0.2.
|
|
5
|
+
VERSION = '0.2.12'
|
|
6
6
|
|
|
7
7
|
REDMINE_VERSION = [
|
|
8
|
-
REDMINE_VERSION_MAJOR = '
|
|
9
|
-
REDMINE_VERSION_MINOR = '
|
|
10
|
-
REDMINE_VERSION_PATCH = '
|
|
8
|
+
REDMINE_VERSION_MAJOR = '6',
|
|
9
|
+
REDMINE_VERSION_MINOR = '1',
|
|
10
|
+
REDMINE_VERSION_PATCH = '3'
|
|
11
11
|
].join('.')
|
|
12
12
|
end
|
|
13
13
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-redmine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- y.matsuda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: itamae
|
|
@@ -84,6 +84,8 @@ files:
|
|
|
84
84
|
- lib/itamae/plugin/recipe/redmine/redmine-4.2.11_sha256sum.txt
|
|
85
85
|
- lib/itamae/plugin/recipe/redmine/redmine-4.2.6_sha256sum.txt
|
|
86
86
|
- lib/itamae/plugin/recipe/redmine/redmine-4.2.7_sha256sum.txt
|
|
87
|
+
- lib/itamae/plugin/recipe/redmine/redmine-5.1.9_sha256sum.txt
|
|
88
|
+
- lib/itamae/plugin/recipe/redmine/redmine-6.1.3_sha256sum.txt
|
|
87
89
|
- lib/itamae/plugin/recipe/redmine/templates/4.1.7/Gemfile.local.erb
|
|
88
90
|
- lib/itamae/plugin/recipe/redmine/templates/4.2.11/Gemfile.local.erb
|
|
89
91
|
- lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
|