Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -4
  3. data/itamae-plugin-recipe-daddy.gemspec +1 -0
  4. data/lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb +4 -4
  5. data/lib/itamae/plugin/recipe/daddy/selenium/chrome.rb +0 -10
  6. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb +0 -19
  7. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt +0 -1
  8. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt +0 -1
  9. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt +0 -1
  10. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt +0 -1
  11. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.45_sha256sum.txt +0 -1
  12. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-74.0.3729.6_sha256sum.txt +0 -1
  13. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-76.0.3809.68_sha256sum.txt +0 -1
  14. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt +0 -1
  15. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt +0 -1
  16. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb +0 -23
  17. data/lib/itamae/plugin/recipe/daddy/selenium/install.rb +0 -3
  18. data/lib/itamae/plugin/recipe/daddy/selenium/templates/etc/yum.repos.d/google-chrome.repo.erb +0 -6
  19. data/lib/itamae_plugin_recipe_daddy/version.rb +1 -13
  20. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: b454108b8e8b6fa3305af92456c5a0b50e4ad79c11e0d10f4132c3d464e0213e
4
- data.tar.gz: 739239e9ef66cf5c78c6e598b1963ff60bdfac368105ab024ce7e24518c048c1
3
+ metadata.gz: 5304d92e7d416b477f5b60e3f31d6168c2b8d80f36b6e1e449f9a972a80151d1
4
+ data.tar.gz: f5580ed5f52540b001ff6577a2909b639697e70828968e71c11ca657f5bd811f
5
5
SHA512:
6
- metadata.gz: 6eeba250c02cddcb6ce28386b2d6fd2de36981ba5ae9a2f243351da650c80f692d6e05151e1d551a431504fb9d0e41329d48772cf669a43ea6b48e553cac7e4f
7
- data.tar.gz: e2e91667f13f8bb16f804b1067fe79bfbe42a353c0ed2351492ca1bf8666dc1307829b9a2bcdb3cc8044bd66dbc33deea6e17e90543ac7c8a341e3f1d1e8e49a
6
+ metadata.gz: a121adadf0caf0340efa8099b334fd3c76fb7bc9625389923a4b669e847dfc3f88d00c471cb76c3949210d183ae1675e4c0230d0deb3e3807e9ab99e88590ba0
7
+ data.tar.gz: 26eca664dfa1afac0dfdc37eb9e0bbe3fdc579f275558d977b3eaa91b4da1623f91d7832ba51376d7ec9e86c0f2f70279fb593b10c514e31c5b1b2d11bd3409a
data/Gemfile.lock CHANGED
@@ -1,20 +1,23 @@
1
1
PATH
2
2
remote: .
3
3
specs:
4
- itamae-plugin-recipe-daddy (0.1.17)
4
+ itamae-plugin-recipe-daddy (0.1.18)
5
5
itamae (~> 1.10, >= 1.10.2)
6
+ itamae-plugin-recipe-selenium (~> 0.1)
6
7
7
8
GEM
8
9
remote: https://rubygems.org/
9
10
specs:
10
11
ansi (1.5.0)
11
12
hashie (3.6.0)
12
- itamae (1.10.5)
13
+ itamae (1.10.6)
13
14
ansi
14
15
hashie
15
16
schash (~> 0.1.0)
16
17
specinfra (>= 2.64.0, < 3.0.0)
17
18
thor
19
+ itamae-plugin-recipe-selenium (0.1.0)
20
+ itamae (~> 1.10, >= 1.10.4)
18
21
net-scp (2.0.0)
19
22
net-ssh (>= 2.6.5, < 6.0.0)
20
23
net-ssh (5.2.0)
@@ -22,7 +25,7 @@ GEM
22
25
rake (12.3.3)
23
26
schash (0.1.2)
24
27
sfl (2.3)
25
- specinfra (2.81.0)
28
+ specinfra (2.82.3)
26
29
net-scp
27
30
net-ssh (>= 2.7)
28
31
net-telnet (= 0.1.1)
@@ -38,4 +41,4 @@ DEPENDENCIES
38
41
rake (~> 12.3)
39
42
40
43
BUNDLED WITH
41
- 2.0.1
44
+ 2.0.2
data/itamae-plugin-recipe-daddy.gemspec CHANGED
@@ -22,6 +22,7 @@ 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-selenium', '~> 0.1'
25
26
26
27
spec.add_development_dependency "bundler", "~> 2.0"
27
28
spec.add_development_dependency "rake", "~> 12.3"
data/lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb CHANGED
@@ -14,15 +14,15 @@ server {
14
14
<%- if @letsencrypt -%>
15
15
ssl_certificate /etc/letsencrypt/live/<%= @server_name %>/fullchain.pem;
16
16
ssl_certificate_key /etc/letsencrypt/live/<%= @server_name %>/privkey.pem;
17
+ <%- elsif @selfsigned -%>
18
+ ssl_certificate /etc/pki/tls/certs/localhost.crt;
19
+ ssl_certificate_key /etc/pki/tls/private/localhost.key;
20
+ <%- end -%>
17
21
18
22
location ^~ /.well-known/acme-challenge/ {
19
23
default_type "text/plain";
20
24
root /opt/nginx/shared/letsencrypt;
21
25
}
22
- <%- elsif @selfsigned -%>
23
- ssl_certificate /etc/pki/tls/certs/localhost.crt;
24
- ssl_certificate_key /etc/pki/tls/private/localhost.key;
25
- <%- end -%>
26
26
27
27
location / {
28
28
root <%= ::File.join(@rails_root, 'public') %>;
data/lib/itamae/plugin/recipe/daddy/selenium/chrome.rb DELETED
@@ -1,10 +0,0 @@
1
- template '/etc/yum.repos.d/google-chrome.repo' do
2
- user 'root'
3
- owner 'root'
4
- group 'root'
5
- mode '644'
6
- end
7
-
8
- package 'google-chrome-stable' do
9
- user 'root'
10
- end
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb DELETED
@@ -1,19 +0,0 @@
1
- version = ENV['CHROME_DRIVER_VERSION'] || ItamaePluginRecipeDaddy::CHROME_DRIVER_VERSION
2
-
3
- execute "download chromedriver-#{version}" do
4
- cwd '/var/daddy/tmp'
5
- command <<-EOF
6
- curl -o chromedriver_linux64-#{version}.zip \
7
- https://chromedriver.storage.googleapis.com/#{version}/chromedriver_linux64.zip
8
- EOF
9
- not_if "echo #{::File.read(::File.join(::File.dirname(__FILE__), "chromedriver_linux64-#{version}_sha256sum.txt")).strip} | sha256sum -c"
10
- end
11
-
12
- execute "install chromedriver-#{version}" do
13
- cwd '/var/daddy/tmp'
14
- command <<-EOF
15
- unzip chromedriver_linux64-#{version}.zip
16
- sudo mv -f chromedriver /usr/local/bin/
17
- EOF
18
- not_if "/usr/local/bin/chromedriver -v | grep 'ChromeDriver #{version}'"
19
- end
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 67fad24c4a85e3f33f51c97924a98b619722db15ce92dcd27484fb748af93e8e chromedriver_linux64-2.35.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 94dfe45843a950e1452007850afbb58619882fec1ac9cdd534f3029fc9cf3edf chromedriver_linux64-2.37.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 2ad85db0d73e642af4698ed889977784640445e873ceb956f7a364fa824c631d chromedriver_linux64-2.40.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- ced920ea978a658d915a960ed7bff62c37c9b7d62dfabbb42ffd7fe7cef7f082 chromedriver_linux64-2.42.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.45_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- d4a5eec0a3b7fec9bcb71353233dde38630e51b29fa7b218cdd196e2e4487da7 chromedriver_linux64-2.45.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-74.0.3729.6_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- ec9dbe021338f0befaecca702abc576cb7cc31a2f5a852c2c41e94721af5d3ad chromedriver_linux64-74.0.3729.6.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-76.0.3809.68_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- fb2f6dd9bd828a6fc40b7387e839caa72faeecd72cf7a1c6b6b5ab760a348b13 chromedriver_linux64-76.0.3809.68.zip
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 7f55c4c89695fd1e6f8fc7372345acc1e2dbaa4a8003cee4bd282eed88145937 geckodriver-v0.19.1-linux64.tar.gz
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 9d80799bff034eda2a233493a78e3250b7c6118c9010ec37a871783081963fda geckodriver-v0.22.0-linux64.tar.gz
data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb DELETED
@@ -1,23 +0,0 @@
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
data/lib/itamae/plugin/recipe/daddy/selenium/install.rb DELETED
@@ -1,3 +0,0 @@
1
- include_recipe 'daddy::selenium::chrome'
2
- include_recipe 'daddy::selenium::drivers::chromedriver'
3
- include_recipe 'daddy::selenium::drivers::geckodriver'
data/lib/itamae/plugin/recipe/daddy/selenium/templates/etc/yum.repos.d/google-chrome.repo.erb DELETED
@@ -1,6 +0,0 @@
1
- [google-chrome]
2
- name=google-chrome
3
- baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
4
- enabled=1
5
- gpgcheck=1
6
- gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
data/lib/itamae_plugin_recipe_daddy/version.rb CHANGED
@@ -1,17 +1,5 @@
1
1
module ItamaePluginRecipeDaddy
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
-
4
- CHROME_DRIVER_VERSION = [
5
- CHROME_DRIVER_VERSION_MAJOR = '76',
6
- CHROME_DRIVER_VERSION_MINOR = '0',
7
- CHROME_DRIVER_VERSION_PATCH = '3809.68'
8
- ].join('.')
9
-
10
- GECKO_DRIVER_VERSION = [
11
- GECKO_DRIVER_VERSION_MAJOR = '0',
12
- GECKO_DRIVER_VERSION_MINOR = '22',
13
- GECKO_DRIVER_VERSION_PATCH = '0'
14
- ].join('.')
15
3
16
4
NGINX_VERSION = [
17
5
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.17
4
+ version: 0.1.18
5
5
platform: ruby
6
6
authors:
7
7
- ichy
8
8
autorequire:
9
9
bindir: exe
10
10
cert_chain: []
11
- date: 2019-08-16 00:00:00.000000000 Z
11
+ date: 2019-10-26 00:00:00.000000000 Z
12
12
dependencies:
13
13
- !ruby/object:Gem::Dependency
14
14
name: itamae
@@ -31,6 +31,20 @@ dependencies:
31
31
- !ruby/object:Gem::Version
32
32
version: 1.10.2
33
33
- !ruby/object:Gem::Dependency
34
+ name: itamae-plugin-recipe-selenium
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.1'
47
+ - !ruby/object:Gem::Dependency
34
48
name: bundler
35
49
requirement: !ruby/object:Gem::Requirement
36
50
requirements:
@@ -114,20 +128,6 @@ files:
114
128
- lib/itamae/plugin/recipe/daddy/python/install.rb
115
129
- lib/itamae/plugin/recipe/daddy/redis/install.rb
116
130
- lib/itamae/plugin/recipe/daddy/redmine.rb
117
- - lib/itamae/plugin/recipe/daddy/selenium/chrome.rb
118
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb
119
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt
120
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt
121
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt
122
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt
123
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.45_sha256sum.txt
124
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-74.0.3729.6_sha256sum.txt
125
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-76.0.3809.68_sha256sum.txt
126
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt
127
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt
128
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb
129
- - lib/itamae/plugin/recipe/daddy/selenium/install.rb
130
- - lib/itamae/plugin/recipe/daddy/selenium/templates/etc/yum.repos.d/google-chrome.repo.erb
131
131
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf.rb
132
132
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/install.rb
133
133
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/wkhtmltox-0.12.5-1.centos7_sha256sum.txt