itamae-plugin-recipe-selenium 0.5.8 → 0.5.9

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: ea7619265f001f3c75ddbdb0a072964c1ddc6d02505a81ac97371c69adb91d32
4
- data.tar.gz: 78926beac1ceffb2c1080c1677e30436b85dafde57e7a1037e343ef0be148ffe
3
+ metadata.gz: 4c95728cacd4eb9857fad6b3962aab7cd390ed91c0e3c33f89fab507ad4ac624
4
+ data.tar.gz: 1629de38f9f7496cdb2e57de2da8bc89023ddd5174c1ed5ad51087590713a488
5
5
  SHA512:
6
- metadata.gz: 13e86a7d3c7807fb3522992b2644c69e10ed23e608023680a6b51fbce103118cf573458ec6e22025d81174daac07886f1183179da32bf2ab576ef3da943a2f17
7
- data.tar.gz: f89811c380512781424cae582f5ae90e5e8ab3cd6684bd731eb8fa1e628fa2d9131be749968d863a374cc0be0db2ce1e89d40c79fc2aa3fd9b3cd1990086ed03
6
+ metadata.gz: 2c4323bc748e003884e05ab223311d03b1dac411b071eac0762f4ae8161e594cb5891aa7783fb5433f665fbba445d4a455f65976ff7ea270e84a807fdf39a58e
7
+ data.tar.gz: 528f6a8b916071eb554959d0ec6da6476fb5865ea1168818e050e1f8f067d9c107ce50fdcb8f55decdd00c9fd8db9f88b95c2584989e71dbb44bec31868ebe13
@@ -6,24 +6,13 @@ template '/etc/yum.repos.d/google-chrome.repo' do
6
6
  variables disable_gpg_check: ['1', 'yes', 'true'].include?(ENV['CHROME_DISABLE_GPG_CHECK'].to_s.downcase)
7
7
  end
8
8
 
9
- if ENV['CHROME_VERSION'].to_s.empty?
10
- case "#{node.platform_family}-#{node.platform_version}"
11
- when /rhel-7\.(.*?)/
12
- ENV['CHROME_VERSION'] = '125.0.6422.141'
13
- execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
14
- user 'root'
15
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome 125\.'"
16
- end
17
- else
18
- ENV['CHROME_VERSION'] = '149.0.7827.200'
19
- execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
20
- user 'root'
21
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome 149\.'"
22
- end
23
- end
24
- else
25
- execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
26
- user 'root'
27
- not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{ENV['CHROME_VERSION']}$\""
28
- end
9
+ unless node.platform_family == 'rhel' && node.platform_version.to_i >= 8
10
+ raise 'This recipe supports only RHEL family with version >= 8.'
29
11
  end
12
+
13
+ ENV['CHROME_VERSION'] = ENV['CHROME_VERSION'].to_s.empty? ? '152.0.7977.64' : ENV['CHROME_VERSION']
14
+
15
+ execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
16
+ user 'root'
17
+ not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{Regexp.escape(ENV['CHROME_VERSION'])}$\""
18
+ end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = '0.5.8'
5
+ VERSION = '0.5.9'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubygems_version: 3.6.9
116
+ rubygems_version: 3.7.2
117
117
  specification_version: 4
118
118
  summary: itamae recipe for god process monitoring framework
119
119
  test_files: []