itamae-plugin-recipe-redmine 0.2.5 → 0.2.7
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/lib/itamae/plugin/recipe/redmine/default.rb +16 -4
- data/lib/itamae/plugin/recipe/redmine/templates/{Gemfile.local.erb → 4.1.7/Gemfile.local.erb} +3 -0
- data/lib/itamae/plugin/recipe/redmine/templates/4.2.11/Gemfile.local.erb +2 -0
- data/lib/itamae/plugin/recipe/redmine/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fd2b3a23d39120b7e85eb2face5b523999d923f2e8c3d3ef6b9ddb476c4aba5
|
4
|
+
data.tar.gz: 8148d10467cd848b2f7db7ab8751999c4c9c5658c6c4728ff5d2bcd9776adc8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 344cea56a84b47aa36a2adb6d179b5fc504bebe795868159f3f28add97d87e08768df42ed33e6b4663fda2b89afa8528ab991dcbcba44feeaee344e00bede39e
|
7
|
+
data.tar.gz: 1c30cf1f648b3eab84c7fe55d1f9acebcbaa881d1620d78025089840eb4b072eab9b01a6ea051298d560defaca4035f79fba1640944d81dfbab07041892907d2
|
@@ -3,8 +3,6 @@ version = ENV['REDMINE_VERSION'] || Itamae::Plugin::Recipe::Redmine::REDMINE_VER
|
|
3
3
|
insecure = ENV['INSECURE'] ? '--no-check-certificate' : ''
|
4
4
|
|
5
5
|
%w{
|
6
|
-
ImageMagick
|
7
|
-
ImageMagick-devel
|
8
6
|
expect
|
9
7
|
ipa-pgothic-fonts
|
10
8
|
libcurl-devel
|
@@ -19,6 +17,20 @@ insecure = ENV['INSECURE'] ? '--no-check-certificate' : ''
|
|
19
17
|
end
|
20
18
|
end
|
21
19
|
|
20
|
+
case "#{node.platform_family}-#{node.platform_version}"
|
21
|
+
when /rhel-7\.(.*?)/, /rhel-8\.(.*?)/
|
22
|
+
%w{
|
23
|
+
ImageMagick
|
24
|
+
ImageMagick-devel
|
25
|
+
}.each do |name|
|
26
|
+
package name do
|
27
|
+
user 'root'
|
28
|
+
options '--enablerepo=epel'
|
29
|
+
end
|
30
|
+
else
|
31
|
+
raise 'サポート対象外のOSです。'
|
32
|
+
end
|
33
|
+
|
22
34
|
directory '/opt/redmine' do
|
23
35
|
user 'root'
|
24
36
|
owner ENV['USER']
|
@@ -61,13 +73,13 @@ template "/opt/redmine/redmine-#{version}/config/configuration.yml" do
|
|
61
73
|
mode '644'
|
62
74
|
end
|
63
75
|
|
64
|
-
if ENV['GEMFILE_LOCAL'] ||
|
76
|
+
if ENV['GEMFILE_LOCAL'] || %w{4.1.7 4.2.11}.include?(version)
|
65
77
|
template "/opt/redmine/redmine-#{version}/Gemfile.local" do
|
66
78
|
user 'root'
|
67
79
|
owner ENV['USER']
|
68
80
|
group ENV['USER']
|
69
81
|
mode '644'
|
70
|
-
source ENV['GEMFILE_LOCAL'] || ::File.join(::File.dirname(__FILE__),
|
82
|
+
source ENV['GEMFILE_LOCAL'] || ::File.join(::File.dirname(__FILE__), "templates/#{version}/Gemfile.local.erb")
|
71
83
|
end
|
72
84
|
end
|
73
85
|
|
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.7
|
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: 2025-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -84,7 +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/templates/Gemfile.local.erb
|
87
|
+
- lib/itamae/plugin/recipe/redmine/templates/4.1.7/Gemfile.local.erb
|
88
|
+
- lib/itamae/plugin/recipe/redmine/templates/4.2.11/Gemfile.local.erb
|
88
89
|
- lib/itamae/plugin/recipe/redmine/templates/configuration.yml.erb
|
89
90
|
- lib/itamae/plugin/recipe/redmine/version.rb
|
90
91
|
homepage: https://github.com/maedadev/itamae-plugin-recipe-redmine
|