itamae-plugin-recipe-daddy 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9158d7ec94839e41b3aa50e4759d4ccf3105851e52bc190fd80101980e7d3f9
4
- data.tar.gz: 60fbbf968ef8b825ca949c87cf60b7eff4dee69307a14c128de8403b71054a86
3
+ metadata.gz: ee720fb323ee082660b4dce6dc31f3b05ebe02264cdd4368f75d5f08c3649767
4
+ data.tar.gz: 867b3b6cdba452e30cb3c2deb0cbeb2b2db8f00084b203420d10e185a3baace1
5
5
  SHA512:
6
- metadata.gz: 649568fa96708b94b469a43f9d7959365329855289a5aa53508a7ff0401ea763c5f0a50d64942f5644c19ef6b3ddf2e9b4c313075b3cc520de663994a61a1956
7
- data.tar.gz: ee54a27af44001a05db34b5c56c988779cef68a9328893eeb86208079748c3b6789d0a192f7a30cf938bec3eaf22dc79b1dc4c055c5c7606422b84490d385815
6
+ metadata.gz: bcffc930f5c3da55c6fe1228904f7f37551da5900c5747088c32d5d5f1f80466c9b8b1bff75a647c89da671b9c9e4d3d463583ed1c9ce376a6cfbad140a4a152
7
+ data.tar.gz: e701082dcdda892d78e249ea4ed868fbcb6610d3242e27a92c2fd98a1bfa6527085215c01bfafa84c3735b3bdc237417005722ce0700218bfe326d4133b49da6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- itamae-plugin-recipe-daddy (0.1.3)
4
+ itamae-plugin-recipe-daddy (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,4 +17,4 @@ DEPENDENCIES
17
17
  rake (~> 12.0)
18
18
 
19
19
  BUNDLED WITH
20
- 1.16.3
20
+ 1.16.4
@@ -37,7 +37,15 @@ http {
37
37
  server {
38
38
  listen 80 default_server;
39
39
  server_name _;
40
- deny all;
40
+
41
+ location ^~ /.well-known/acme-challenge/ {
42
+ default_type "text/plain";
43
+ root /opt/nginx/shared/letsencrypt;
44
+ }
45
+
46
+ location / {
47
+ deny all;
48
+ }
41
49
  }
42
50
 
43
51
  include /etc/nginx/conf.d/servers/*.conf;
@@ -0,0 +1,23 @@
1
+ require 'daddy'
2
+
3
+ directory 'tmp'
4
+
5
+ version = ENV['CHROME_DRIVER_VERSION'] || ItamaePluginRecipeDaddy::CHROME_DRIVER_VERSION
6
+
7
+ execute "download chromedriver-#{version}" do
8
+ cwd 'tmp'
9
+ command <<-EOF
10
+ curl -o chromedriver_linux64-#{version}.zip \
11
+ https://chromedriver.storage.googleapis.com/#{version}/chromedriver_linux64.zip
12
+ EOF
13
+ not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "chromedriver_linux64-#{version}_sha256sum.txt")}"
14
+ end
15
+
16
+ execute "install chromedriver-#{version}" do
17
+ cwd 'tmp'
18
+ command <<-EOF
19
+ unzip chromedriver_linux64-#{version}.zip
20
+ sudo mv -f chromedriver /usr/local/bin/
21
+ EOF
22
+ not_if "/usr/local/bin/chromedriver -v | grep 'ChromeDriver #{version}'"
23
+ end
@@ -0,0 +1 @@
1
+ 67fad24c4a85e3f33f51c97924a98b619722db15ce92dcd27484fb748af93e8e chromedriver_linux64-2.35.zip
@@ -0,0 +1 @@
1
+ 94dfe45843a950e1452007850afbb58619882fec1ac9cdd534f3029fc9cf3edf chromedriver_linux64-2.37.zip
@@ -0,0 +1 @@
1
+ 2ad85db0d73e642af4698ed889977784640445e873ceb956f7a364fa824c631d chromedriver_linux64-2.40.zip
@@ -0,0 +1 @@
1
+ ced920ea978a658d915a960ed7bff62c37c9b7d62dfabbb42ffd7fe7cef7f082 chromedriver_linux64-2.42.zip
@@ -0,0 +1 @@
1
+ 7f55c4c89695fd1e6f8fc7372345acc1e2dbaa4a8003cee4bd282eed88145937 geckodriver-v0.19.1-linux64.tar.gz
@@ -0,0 +1 @@
1
+ 9d80799bff034eda2a233493a78e3250b7c6118c9010ec37a871783081963fda geckodriver-v0.22.0-linux64.tar.gz
@@ -0,0 +1,23 @@
1
+ require 'daddy/itamae'
2
+
3
+ directory 'tmp'
4
+
5
+ version = ENV['GECKO_DRIVER_VERSION'] || ItamaePluginRecipeDaddy::GECKO_DRIVER_VERSION
6
+
7
+ execute "download geckodriver-#{version}" do
8
+ cwd 'tmp'
9
+ command <<-EOF
10
+ rm -Rf geckodriver-v#{version}-linux64*
11
+ wget https://github.com/mozilla/geckodriver/releases/download/v#{version}/geckodriver-v#{version}-linux64.tar.gz
12
+ EOF
13
+ not_if "sha256sum -c #{::File.join(::File.dirname(__FILE__), "geckodriver-v#{version}-linux64_sha256sum.txt")}"
14
+ end
15
+
16
+ execute "install geckodriver-#{version}" do
17
+ cwd 'tmp'
18
+ command <<-EOF
19
+ tar zxf geckodriver-v#{version}-linux64.tar.gz
20
+ sudo mv -f geckodriver /usr/local/bin/
21
+ EOF
22
+ not_if "/usr/local/bin/geckodriver -V | grep 'geckodriver #{version}'"
23
+ end
@@ -0,0 +1,2 @@
1
+ include_recipe 'daddy::selenium::drivers::chromedriver'
2
+ include_recipe 'daddy::selenium::drivers::geckodriver'
@@ -1,5 +1,16 @@
1
1
  module ItamaePluginRecipeDaddy
2
- VERSION = "0.1.3"
2
+ VERSION = '0.1.4'
3
+
4
+ CHROME_DRIVER_VERSION = [
5
+ CHROME_DRIVER_VERSION_MAJOR = '2',
6
+ CHROME_DRIVER_VERSION_MINOR = '42'
7
+ ].join('.')
8
+
9
+ GECKO_DRIVER_VERSION = [
10
+ GECKO_DRIVER_VERSION_MAJOR = '0',
11
+ GECKO_DRIVER_VERSION_MINOR = '22',
12
+ GECKO_DRIVER_VERSION_REVISION = '0'
13
+ ].join('.')
3
14
 
4
15
  NGINX_VERSION = [
5
16
  NGINX_VERSION_MAJOR = '1',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-daddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -74,6 +74,15 @@ files:
74
74
  - lib/itamae/plugin/recipe/daddy/passenger/install.rb
75
75
  - lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb
76
76
  - lib/itamae/plugin/recipe/daddy/redis/install.rb
77
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb
78
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt
79
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt
80
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt
81
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt
82
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt
83
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt
84
+ - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb
85
+ - lib/itamae/plugin/recipe/daddy/selenium/install.rb
77
86
  - lib/itamae_plugin_recipe_daddy/daddy.rb
78
87
  - lib/itamae_plugin_recipe_daddy/version.rb
79
88
  homepage: https://github.com/ichylinux/itamae-plugin-recipe-daddy
@@ -96,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
105
  version: '0'
97
106
  requirements: []
98
107
  rubyforge_project:
99
- rubygems_version: 2.7.7
108
+ rubygems_version: 2.7.6
100
109
  signing_key:
101
110
  specification_version: 4
102
111
  summary: itamae recipe collections