itamae-plugin-recipe-daddy 0.1.37 → 0.2.0
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/itamae-plugin-recipe-daddy.gemspec +0 -1
- data/lib/itamae/plugin/recipe/daddy/mysql/client.rb +1 -1
- data/lib/itamae/plugin/recipe/daddy/mysql/common.rb +26 -0
- data/lib/itamae/plugin/recipe/daddy/mysql/server.rb +2 -1
- data/lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-9.repo.erb +97 -0
- data/lib/itamae_plugin_recipe_daddy/version.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41c20b499d1cc91dd03bc824dbce5044e0b3da63d8e9c2d08f57d91fca4ce748
|
|
4
|
+
data.tar.gz: 27e91486ccb1ed727e290c24064969cb4df50e4586d9f66118c7628d430c5524
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2756b9081fbf03a1b80275fe5e52aadfa4357fac68917741b635adcc2a06f167137f2e9228da8db0bc801aeca82ae44a0f7da3718ed895dbb28eb0ebceb0110
|
|
7
|
+
data.tar.gz: '078bc124bdbe1a82e638b6d07d1552b2467f0e960af8659a0bd7d592a7973de5abbf395b987ae7d1c5358584f16373dfa00c189b13d3b7a77a9eedd4051b7a56'
|
|
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.require_paths = ["lib"]
|
|
23
23
|
|
|
24
24
|
spec.add_dependency 'itamae', '~> 1.10', '>= 1.10.2'
|
|
25
|
-
spec.add_dependency 'itamae-plugin-recipe-passenger', '~> 0.1'
|
|
26
25
|
spec.add_dependency 'itamae-plugin-recipe-selenium', '~> 0.1'
|
|
27
26
|
spec.add_dependency 'itamae-plugin-resource-pip', '~> 1.1'
|
|
28
27
|
|
|
@@ -42,6 +42,32 @@ when /rhel-8\.(.*?)/
|
|
|
42
42
|
subscribes :run, "template[/etc/yum.repos.d/mysql-community.repo]", :immediately
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
execute 'dnf clean all' do
|
|
46
|
+
user 'root'
|
|
47
|
+
action :nothing
|
|
48
|
+
subscribes :run, "template[/etc/yum.repos.d/mysql-community.repo]", :immediately
|
|
49
|
+
end
|
|
50
|
+
when /rhel-9\.(.*?)/
|
|
51
|
+
template '/etc/yum.repos.d/mysql-community.repo' do
|
|
52
|
+
source ::File.join(::File.dirname(__FILE__), "templates/etc/yum.repos.d/mysql-community.rhel-9.repo.erb")
|
|
53
|
+
user 'root'
|
|
54
|
+
owner 'root'
|
|
55
|
+
group 'root'
|
|
56
|
+
mode '644'
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
execute 'dnf -y module disable mysql' do
|
|
60
|
+
user 'root'
|
|
61
|
+
action :nothing
|
|
62
|
+
subscribes :run, "template[/etc/yum.repos.d/mysql-community.repo]", :immediately
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
execute 'rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2025' do
|
|
66
|
+
user 'root'
|
|
67
|
+
action :nothing
|
|
68
|
+
subscribes :run, "template[/etc/yum.repos.d/mysql-community.repo]", :immediately
|
|
69
|
+
end
|
|
70
|
+
|
|
45
71
|
execute 'dnf clean all' do
|
|
46
72
|
user 'root'
|
|
47
73
|
action :nothing
|
|
@@ -10,9 +10,10 @@ directory '/var/lib/mysql84' do
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
case os_version
|
|
13
|
-
when /rhel-7\.(.*?)/, /rhel-8\.(.*?)/
|
|
13
|
+
when /rhel-7\.(.*?)/, /rhel-8\.(.*?)/, /rhel-9\.(.*?)/
|
|
14
14
|
template '/etc/systemd/system/mysqld.service' do
|
|
15
15
|
user 'root'
|
|
16
|
+
mode '644'
|
|
16
17
|
end
|
|
17
18
|
|
|
18
19
|
execute 'systemctl daemon-reload' do
|
data/lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-9.repo.erb
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
[mysql-connectors-community]
|
|
2
|
+
name=MySQL Connectors Community
|
|
3
|
+
baseurl=https://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
|
|
4
|
+
enabled=1
|
|
5
|
+
gpgcheck=1
|
|
6
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
7
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
8
|
+
|
|
9
|
+
[mysql80-community]
|
|
10
|
+
name=MySQL 8.0 Community Server
|
|
11
|
+
baseurl=https://repo.mysql.com/yum/mysql-8.0-community/el/$releasever/$basearch/
|
|
12
|
+
enabled=0
|
|
13
|
+
gpgcheck=1
|
|
14
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
15
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
16
|
+
|
|
17
|
+
[mysql-tools-community]
|
|
18
|
+
name=MySQL Tools Community
|
|
19
|
+
baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/$releasever/$basearch/
|
|
20
|
+
enabled=0
|
|
21
|
+
gpgcheck=1
|
|
22
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
23
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
24
|
+
|
|
25
|
+
[mysql-cluster-8.0-community]
|
|
26
|
+
name=MySQL Cluster 8.0 Community
|
|
27
|
+
baseurl=https://repo.mysql.com/yum/mysql-cluster-8.0-community/el/$releasever/$basearch/
|
|
28
|
+
enabled=0
|
|
29
|
+
gpgcheck=1
|
|
30
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
31
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
32
|
+
|
|
33
|
+
[mysql-8.4-lts-community]
|
|
34
|
+
name=MySQL 8.4 LTS Community Server
|
|
35
|
+
baseurl=https://repo.mysql.com/yum/mysql-8.4-community/el/$releasever/$basearch/
|
|
36
|
+
enabled=0
|
|
37
|
+
gpgcheck=1
|
|
38
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
39
|
+
|
|
40
|
+
[mysql-tools-8.4-lts-community]
|
|
41
|
+
name=MySQL Tools 8.4 LTS Community
|
|
42
|
+
baseurl=https://repo.mysql.com/yum/mysql-tools-8.4-community/el/$releasever/$basearch/
|
|
43
|
+
enabled=0
|
|
44
|
+
gpgcheck=1
|
|
45
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
46
|
+
|
|
47
|
+
[mysql-cluster-8.4-lts-community]
|
|
48
|
+
name=MySQL Cluster 8.4 LTS Community
|
|
49
|
+
baseurl=https://repo.mysql.com/yum/mysql-cluster-8.4-community/el/$releasever/$basearch/
|
|
50
|
+
enabled=0
|
|
51
|
+
gpgcheck=1
|
|
52
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
53
|
+
|
|
54
|
+
[mysql-9.7-lts-community]
|
|
55
|
+
name=MySQL 9.7 LTS Community Server
|
|
56
|
+
baseurl=https://repo.mysql.com/yum/mysql-9.7-community/el/$releasever/$basearch/
|
|
57
|
+
enabled=1
|
|
58
|
+
gpgcheck=1
|
|
59
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
60
|
+
|
|
61
|
+
[mysql-tools-9.7-lts-community]
|
|
62
|
+
name=MySQL Tools 9.7 LTS Community
|
|
63
|
+
baseurl=https://repo.mysql.com/yum/mysql-tools-9.7-community/el/$releasever/$basearch/
|
|
64
|
+
enabled=1
|
|
65
|
+
gpgcheck=1
|
|
66
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
67
|
+
|
|
68
|
+
[mysql-cluster-9.7-lts-community]
|
|
69
|
+
name=MySQL Cluster 9.7 LTS Community
|
|
70
|
+
baseurl=https://repo.mysql.com/yum/mysql-cluster-9.7-community/el/$releasever/$basearch/
|
|
71
|
+
enabled=0
|
|
72
|
+
gpgcheck=1
|
|
73
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
74
|
+
|
|
75
|
+
[mysql-innovation-community]
|
|
76
|
+
name=MySQL Innovation Release Community Server
|
|
77
|
+
baseurl=https://repo.mysql.com/yum/mysql-innovation-community/el/$releasever/$basearch/
|
|
78
|
+
enabled=0
|
|
79
|
+
gpgcheck=1
|
|
80
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
81
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
82
|
+
|
|
83
|
+
[mysql-tools-innovation-community]
|
|
84
|
+
name=MySQL Tools Innovation Community
|
|
85
|
+
baseurl=https://repo.mysql.com/yum/mysql-tools-innovation-community/el/$releasever/$basearch/
|
|
86
|
+
enabled=0
|
|
87
|
+
gpgcheck=1
|
|
88
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
89
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
|
90
|
+
|
|
91
|
+
[mysql-cluster-innovation-community]
|
|
92
|
+
name=MySQL Cluster Innovation Release Community
|
|
93
|
+
baseurl=https://repo.mysql.com/yum/mysql-cluster-innovation-community/el/$releasever/$basearch/
|
|
94
|
+
enabled=0
|
|
95
|
+
gpgcheck=1
|
|
96
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
|
|
97
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itamae-plugin-recipe-daddy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ichy
|
|
@@ -29,20 +29,6 @@ dependencies:
|
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: 1.10.2
|
|
32
|
-
- !ruby/object:Gem::Dependency
|
|
33
|
-
name: itamae-plugin-recipe-passenger
|
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
|
35
|
-
requirements:
|
|
36
|
-
- - "~>"
|
|
37
|
-
- !ruby/object:Gem::Version
|
|
38
|
-
version: '0.1'
|
|
39
|
-
type: :runtime
|
|
40
|
-
prerelease: false
|
|
41
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
42
|
-
requirements:
|
|
43
|
-
- - "~>"
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: '0.1'
|
|
46
32
|
- !ruby/object:Gem::Dependency
|
|
47
33
|
name: itamae-plugin-recipe-selenium
|
|
48
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,6 +114,7 @@ files:
|
|
|
128
114
|
- lib/itamae/plugin/recipe/daddy/mysql/templates/etc/systemd/system/mysqld.service.erb
|
|
129
115
|
- lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-7.repo.erb
|
|
130
116
|
- lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-8.repo.erb
|
|
117
|
+
- lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-9.repo.erb
|
|
131
118
|
- lib/itamae/plugin/recipe/daddy/nginx.rb
|
|
132
119
|
- lib/itamae/plugin/recipe/daddy/nginx/install.rb
|
|
133
120
|
- lib/itamae/plugin/recipe/daddy/nginx/modules/nginx-rtmp-module.rb
|
|
@@ -180,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
180
167
|
- !ruby/object:Gem::Version
|
|
181
168
|
version: '0'
|
|
182
169
|
requirements: []
|
|
183
|
-
rubygems_version: 3.
|
|
170
|
+
rubygems_version: 3.6.9
|
|
184
171
|
specification_version: 4
|
|
185
172
|
summary: itamae recipe collections
|
|
186
173
|
test_files: []
|