itamae-plugin-recipe-daddy 0.1.38 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 425b9f4ebff8b48dbd33935561aab75b457d03b5b0dbe5349e52565957464906
4
- data.tar.gz: 6ab06006baa604262f67cbb92de0e517a2b5694a6f7c0e5fe282e18ab9e1c800
3
+ metadata.gz: 41c20b499d1cc91dd03bc824dbce5044e0b3da63d8e9c2d08f57d91fca4ce748
4
+ data.tar.gz: 27e91486ccb1ed727e290c24064969cb4df50e4586d9f66118c7628d430c5524
5
5
  SHA512:
6
- metadata.gz: bb5e334fa7e0d2893001636c0ad2b6cd0d9de8e9fc48adb3d62b675938c6589ffdde88ecf8a2d8f8c4bf984e320aa2722536676c54ade9975e0d79e2721e24a6
7
- data.tar.gz: 0aedb151dd3ff4814895175cf25325f24a4cb72326ad12dbc15ea047ad5a58bdc9f4ac7c44ad6e33fe2a18b738050fd59680fbe4cc187bfbc864e9376b34081a
6
+ metadata.gz: d2756b9081fbf03a1b80275fe5e52aadfa4357fac68917741b635adcc2a06f167137f2e9228da8db0bc801aeca82ae44a0f7da3718ed895dbb28eb0ebceb0110
7
+ data.tar.gz: '078bc124bdbe1a82e638b6d07d1552b2467f0e960af8659a0bd7d592a7973de5abbf395b987ae7d1c5358584f16373dfa00c189b13d3b7a77a9eedd4051b7a56'
@@ -1,7 +1,7 @@
1
1
  include_recipe 'daddy::mysql::common'
2
2
 
3
3
  case os_version
4
- when /rhel-7\.(.*?)/, /rhel-8\.(.*?)/
4
+ when /rhel-7\.(.*?)/, /rhel-8\.(.*?)/, /rhel-9\.(.*?)/
5
5
  package 'mysql-community-client' do
6
6
  user 'root'
7
7
  end
@@ -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
@@ -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
@@ -1,5 +1,5 @@
1
1
  module ItamaePluginRecipeDaddy
2
- VERSION = '0.1.38'
2
+ VERSION = '0.2.0'
3
3
 
4
4
  NGINX_VERSION = [
5
5
  NGINX_VERSION_MAJOR = '1',
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.1.38
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
@@ -114,6 +114,7 @@ files:
114
114
  - lib/itamae/plugin/recipe/daddy/mysql/templates/etc/systemd/system/mysqld.service.erb
115
115
  - lib/itamae/plugin/recipe/daddy/mysql/templates/etc/yum.repos.d/mysql-community.rhel-7.repo.erb
116
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
117
118
  - lib/itamae/plugin/recipe/daddy/nginx.rb
118
119
  - lib/itamae/plugin/recipe/daddy/nginx/install.rb
119
120
  - lib/itamae/plugin/recipe/daddy/nginx/modules/nginx-rtmp-module.rb
@@ -166,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
167
  - !ruby/object:Gem::Version
167
168
  version: '0'
168
169
  requirements: []
169
- rubygems_version: 3.7.2
170
+ rubygems_version: 3.6.9
170
171
  specification_version: 4
171
172
  summary: itamae recipe collections
172
173
  test_files: []