Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -5
  3. data/itamae-plugin-recipe-daddy.gemspec +1 -0
  4. data/lib/itamae/plugin/recipe/daddy/mysql/install.rb +0 -10
  5. data/lib/itamae/plugin/recipe/daddy/mysql/mysql_secure_installation.sh +0 -26
  6. data/lib/itamae/plugin/recipe/daddy/nginx/install.rb +1 -1
  7. data/lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.1_sha256sum.txt +1 -0
  8. data/lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb +4 -4
  9. data/lib/itamae/plugin/recipe/daddy/postgresql/install.rb +0 -39
  10. data/lib/itamae/plugin/recipe/daddy/postgresql/templates/var/lib/pgsql/data/pg_hba.conf.erb +0 -92
  11. data/lib/itamae/plugin/recipe/daddy/redmine/install.rb +0 -81
  12. data/lib/itamae/plugin/recipe/daddy/redmine/redmine-3.4.10_sha256sum.txt +0 -1
  13. data/lib/itamae/plugin/recipe/daddy/redmine/templates/configuration.yml.erb +0 -9
  14. data/lib/itamae/plugin/recipe/daddy/redmine/templates/database.yml.erb +0 -6
  15. data/lib/itamae/plugin/recipe/daddy/selenium/chrome.rb +0 -10
  16. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb +0 -19
  17. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt +0 -1
  18. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt +0 -1
  19. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt +0 -1
  20. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt +0 -1
  21. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.45_sha256sum.txt +0 -1
  22. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-74.0.3729.6_sha256sum.txt +0 -1
  23. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt +0 -1
  24. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt +0 -1
  25. data/lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb +0 -23
  26. data/lib/itamae/plugin/recipe/daddy/selenium/install.rb +0 -3
  27. data/lib/itamae/plugin/recipe/daddy/selenium/templates/etc/yum.repos.d/google-chrome.repo.erb +0 -6
  28. data/lib/itamae_plugin_recipe_daddy/version.rb +2 -20
  29. metadata +17 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: d00e2b2ff293d75a4e8f14fc736f46957e83f6ab3b0b9df6dae970d4a9075f93
4
- data.tar.gz: 802b3c1aea5a18130e30cbd684198daae812e529a718cdc3692ffb9eb659704a
3
+ metadata.gz: 5304d92e7d416b477f5b60e3f31d6168c2b8d80f36b6e1e449f9a972a80151d1
4
+ data.tar.gz: f5580ed5f52540b001ff6577a2909b639697e70828968e71c11ca657f5bd811f
5
5
SHA512:
6
- metadata.gz: 01bfbb6fd0aa8acc5d14f1d71b38ec9b58d9429e460ed85daaf9b90e07e5acd5b9dc78891fb953076bbcbacc86f9eb97c0c5cf7b909a894f2d57284902ebb8ab
7
- data.tar.gz: 8c05fbb0fd609fa0e2859c0774df8400bd61998e14ddcbf610601d505c308577ed43bb4e048856b1c032f7d86e2d3153872b0e1d1351d73e7a9e1b8503a83ce2
6
+ metadata.gz: a121adadf0caf0340efa8099b334fd3c76fb7bc9625389923a4b669e847dfc3f88d00c471cb76c3949210d183ae1675e4c0230d0deb3e3807e9ab99e88590ba0
7
+ data.tar.gz: 26eca664dfa1afac0dfdc37eb9e0bbe3fdc579f275558d977b3eaa91b4da1623f91d7832ba51376d7ec9e86c0f2f70279fb593b10c514e31c5b1b2d11bd3409a
data/Gemfile.lock CHANGED
@@ -1,28 +1,31 @@
1
1
PATH
2
2
remote: .
3
3
specs:
4
- itamae-plugin-recipe-daddy (0.1.13)
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.4)
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)
21
24
net-telnet (0.1.1)
22
- rake (12.3.2)
25
+ rake (12.3.3)
23
26
schash (0.1.2)
24
27
sfl (2.3)
25
- specinfra (2.77.1)
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/mysql/install.rb CHANGED
@@ -46,13 +46,3 @@ when /rhel-7\.(.*?)/
46
46
else
47
47
raise I18n.t('itamae.errors.unsupported_os_version', os_version: os_version)
48
48
end
49
-
50
- package 'expect' do
51
- user 'root'
52
- end
53
-
54
- execute 'mysql_secure_installation' do
55
- user 'root'
56
- command "bash #{File.join(File.dirname(__FILE__), 'mysql_secure_installation.sh')}"
57
- not_if "mysql -u root -e 'select 1;'"
58
- end
data/lib/itamae/plugin/recipe/daddy/mysql/mysql_secure_installation.sh DELETED
@@ -1,26 +0,0 @@
1
- #!/bin/bash
2
-
3
- expect -c "
4
- set timeout 5
5
- spawn mysql_secure_installation
6
-
7
- expect \"Enter current password for root\"
8
- send \"\n\"
9
-
10
- expect \"Set root password?\"
11
- send \"n\n\"
12
-
13
- expect \"Remove anonymous users?\"
14
- send \"y\n\"
15
-
16
- expect \"Disallow root login remotely?\"
17
- send \"y\n\"
18
-
19
- expect \"Remove test database and access to it?\"
20
- send \"y\n\"
21
-
22
- expect \"Reload privilege tables now?\"
23
- send \"y\n\"
24
-
25
- interact
26
- "
data/lib/itamae/plugin/recipe/daddy/nginx/install.rb CHANGED
@@ -2,7 +2,7 @@ require 'daddy/itamae'
2
2
3
3
version = ENV['NGINX_VERSION'] || ItamaePluginRecipeDaddy::NGINX_VERSION
4
4
rtmp_version = ENV['NGINX_RTMP_MODULE_VERSION'] || ItamaePluginRecipeDaddy::NGINX_RTMP_MODULE_VERSION
5
- app_type = ENV['app_type'] || Daddy.config.app_.type
5
+ app_type = ENV['APP_TYPE'] || Daddy.config.app.type
6
6
7
7
# install destination
8
8
%w{
data/lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.1_sha256sum.txt ADDED
@@ -0,0 +1 @@
1
+ f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b nginx-1.16.1.tar.gz
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/postgresql/install.rb DELETED
@@ -1,39 +0,0 @@
1
- require 'daddy/itamae'
2
-
3
- case os_version
4
- when /rhel-7\.(.*?)/
5
- %w{
6
- postgresql-devel
7
- postgresql-server
8
- }.each do |name|
9
- package name do
10
- user 'root'
11
- end
12
- end
13
-
14
- execute 'postgresql-setup initdb && touch /var/lib/pgsql/data/INITIALIZED' do
15
- user 'root'
16
- not_if 'test -e /var/lib/pgsql/data/INITIALIZED'
17
- end
18
-
19
- else
20
- raise "unsupported os version #{os_version}"
21
- end
22
-
23
- service 'postgresql' do
24
- user 'root'
25
- action [:enable]
26
- end
27
-
28
- template '/var/lib/pgsql/data/pg_hba.conf' do
29
- user 'root'
30
- owner 'postgres'
31
- group 'postgres'
32
- mode '600'
33
- end
34
-
35
- service 'postgresql' do
36
- user 'root'
37
- subscribes :restart, 'template[/var/lib/pgsql/data/pg_hba.conf]'
38
- action :nothing
39
- end
data/lib/itamae/plugin/recipe/daddy/postgresql/templates/var/lib/pgsql/data/pg_hba.conf.erb DELETED
@@ -1,92 +0,0 @@
1
- # PostgreSQL Client Authentication Configuration File
2
- # ===================================================
3
- #
4
- # Refer to the "Client Authentication" section in the PostgreSQL
5
- # documentation for a complete description of this file. A short
6
- # synopsis follows.
7
- #
8
- # This file controls: which hosts are allowed to connect, how clients
9
- # are authenticated, which PostgreSQL user names they can use, which
10
- # databases they can access. Records take one of these forms:
11
- #
12
- # local DATABASE USER METHOD [OPTIONS]
13
- # host DATABASE USER ADDRESS METHOD [OPTIONS]
14
- # hostssl DATABASE USER ADDRESS METHOD [OPTIONS]
15
- # hostnossl DATABASE USER ADDRESS METHOD [OPTIONS]
16
- #
17
- # (The uppercase items must be replaced by actual values.)
18
- #
19
- # The first field is the connection type: "local" is a Unix-domain
20
- # socket, "host" is either a plain or SSL-encrypted TCP/IP socket,
21
- # "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
22
- # plain TCP/IP socket.
23
- #
24
- # DATABASE can be "all", "sameuser", "samerole", "replication", a
25
- # database name, or a comma-separated list thereof. The "all"
26
- # keyword does not match "replication". Access to replication
27
- # must be enabled in a separate record (see example below).
28
- #
29
- # USER can be "all", a user name, a group name prefixed with "+", or a
30
- # comma-separated list thereof. In both the DATABASE and USER fields
31
- # you can also write a file name prefixed with "@" to include names
32
- # from a separate file.
33
- #
34
- # ADDRESS specifies the set of hosts the record matches. It can be a
35
- # host name, or it is made up of an IP address and a CIDR mask that is
36
- # an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that
37
- # specifies the number of significant bits in the mask. A host name
38
- # that starts with a dot (.) matches a suffix of the actual host name.
39
- # Alternatively, you can write an IP address and netmask in separate
40
- # columns to specify the set of hosts. Instead of a CIDR-address, you
41
- # can write "samehost" to match any of the server's own IP addresses,
42
- # or "samenet" to match any address in any subnet that the server is
43
- # directly connected to.
44
- #
45
- # METHOD can be "trust", "reject", "md5", "password", "gss", "sspi",
46
- # "krb5", "ident", "peer", "pam", "ldap", "radius" or "cert". Note that
47
- # "password" sends passwords in clear text; "md5" is preferred since
48
- # it sends encrypted passwords.
49
- #
50
- # OPTIONS are a set of options for the authentication in the format
51
- # NAME=VALUE. The available options depend on the different
52
- # authentication methods -- refer to the "Client Authentication"
53
- # section in the documentation for a list of which options are
54
- # available for which authentication methods.
55
- #
56
- # Database and user names containing spaces, commas, quotes and other
57
- # special characters must be quoted. Quoting one of the keywords
58
- # "all", "sameuser", "samerole" or "replication" makes the name lose
59
- # its special character, and just match a database or username with
60
- # that name.
61
- #
62
- # This file is read on server startup and when the postmaster receives
63
- # a SIGHUP signal. If you edit the file on a running system, you have
64
- # to SIGHUP the postmaster for the changes to take effect. You can
65
- # use "pg_ctl reload" to do that.
66
-
67
- # Put your actual configuration here
68
- # ----------------------------------
69
- #
70
- # If you want to allow non-local connections, you need to add more
71
- # "host" records. In that case you will also need to make PostgreSQL
72
- # listen on a non-local interface via the listen_addresses
73
- # configuration parameter, or via the -i or -h command line switches.
74
-
75
-
76
-
77
- # TYPE DATABASE USER ADDRESS METHOD
78
-
79
- # "local" is for Unix domain socket connections only
80
- local all all peer
81
- # IPv4 local connections:
82
- host all all 127.0.0.1/32 trust
83
- # IPv6 local connections:
84
- host all all ::1/128 trust
85
- # Allow replication connections from localhost, by a user with the
86
- # replication privilege.
87
- #local replication postgres peer
88
- #host replication postgres 127.0.0.1/32 ident
89
- #host replication postgres ::1/128 ident
90
-
91
- host redmine redmine 127.0.0.1/32 md5
92
- host redmine redmine ::1/128 md5
data/lib/itamae/plugin/recipe/daddy/redmine/install.rb DELETED
@@ -1,81 +0,0 @@
1
- version = ENV['REDMINE_VERSION'] || ItamaePluginRecipeDaddy::REDMINE_VERSION
2
-
3
- %w{
4
- ImageMagick
5
- ImageMagick-devel
6
- ipa-pgothic-fonts
7
- libcurl-devel
8
- libffi-devel
9
- libyaml-devel
10
- openssl-devel
11
- readline-devel
12
- zlib-devel
13
- }.each do |name|
14
- package name do
15
- user 'root'
16
- end
17
- end
18
-
19
- execute "download redmine-#{version}" do
20
- cwd '/var/daddy/tmp'
21
- command <<-EOF
22
- wget http://www.redmine.org/releases/redmine-#{version}.tar.gz
23
- EOF
24
- not_if "echo #{::File.read(::File.join(::File.dirname(__FILE__), "redmine-#{version}_sha256sum.txt")).strip} | sha256sum -c"
25
- end
26
-
27
- user 'redmine' do
28
- user 'root'
29
- system_user true
30
- home '/opt/redmine/current'
31
- end
32
-
33
- directory '/opt/redmine' do
34
- user 'root'
35
- owner 'redmine'
36
- group 'redmine'
37
- mode '755'
38
- end
39
-
40
- execute "build redmine-#{version}" do
41
- cwd '/var/daddy/tmp'
42
- command <<-EOF
43
- set -eu
44
- rm -Rf redmine-#{version}/
45
- tar zxf redmine-#{version}.tar.gz
46
- sudo rm -Rf /opt/redmine/redmine-#{version}/
47
- sudo mv redmine-#{version} /opt/redmine/
48
- sudo chown -R redmine:redmine /opt/redmine/redmine-#{version}
49
- sudo -u redmine touch /opt/redmine/redmine-#{version}/INSTALLED
50
- EOF
51
- not_if "test -e /opt/redmine/redmine-#{version}/INSTALLED"
52
- end
53
-
54
- %w{
55
- configuration.yml
56
- database.yml
57
- }.each do |name|
58
- template "/opt/redmine/redmine-#{version}/config/#{name}" do
59
- user 'root'
60
- owner 'redmine'
61
- group 'redmine'
62
- mode '644'
63
- end
64
- end
65
-
66
- gem_package 'bundler' do
67
- user 'root'
68
- version '1.17.3'
69
- end
70
-
71
- execute 'bundle _1.17.3_ install --without development test' do
72
- cwd "/opt/redmine/redmine-#{version}"
73
- user 'redmine'
74
- end
75
-
76
- link 'current' do
77
- user 'root'
78
- cwd '/opt/redmine'
79
- to "redmine-#{version}"
80
- force true
81
- end
data/lib/itamae/plugin/recipe/daddy/redmine/redmine-3.4.10_sha256sum.txt DELETED
@@ -1 +0,0 @@
1
- 30fb5b476ccf9ff3e3a1132b881a9a14e5b3f3c3c736aea4b29cdcc7cf739421 redmine-3.4.10.tar.gz
data/lib/itamae/plugin/recipe/daddy/redmine/templates/configuration.yml.erb DELETED
@@ -1,9 +0,0 @@
1
- production:
2
- email_delivery:
3
- delivery_method: :smtp
4
- smtp_settings:
5
- address: "localhost"
6
- port: 25
7
- domain: "localhost"
8
-
9
- rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf
data/lib/itamae/plugin/recipe/daddy/redmine/templates/database.yml.erb DELETED
@@ -1,6 +0,0 @@
1
- production:
2
- adapter: postgresql
3
- database: redmine
4
- host: localhost
5
- username: redmine
6
- password: redmine
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/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,22 +1,10 @@
1
1
module ItamaePluginRecipeDaddy
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.18'
3
-
4
- CHROME_DRIVER_VERSION = [
5
- CHROME_DRIVER_VERSION_MAJOR = '74',
6
- CHROME_DRIVER_VERSION_MINOR = '0',
7
- CHROME_DRIVER_VERSION_PATCH = '3729.6'
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',
18
6
NGINX_VERSION_MINOR = '16',
19
- NGINX_VERSION_PATCH = '0'
7
+ NGINX_VERSION_PATCH = '1'
20
8
].join('.')
21
9
22
10
NGINX_RTMP_MODULE_VERSION = [
@@ -43,12 +31,6 @@ module ItamaePluginRecipeDaddy
43
31
PYTHON_VERSION_PATCH = '6'
44
32
].join('.')
45
33
46
- REDMINE_VERSION = [
47
- REDMINE_VERSION_MAJOR = '3',
48
- REDMINE_VERSION_MINOR = '4',
49
- REDMINE_VERSION_PATCH = '10'
50
- ].join('.')
51
-
52
34
WKHTMLTOPDF_VERSION = [
53
35
WKHTMLTOPDF_VERSION_MAJOR = '0',
54
36
WKHTMLTOPDF_VERSION_MINOR = '12',
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.13
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-05-12 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:
@@ -82,7 +96,6 @@ files:
82
96
- lib/itamae/plugin/recipe/daddy/memcached/install.rb
83
97
- lib/itamae/plugin/recipe/daddy/mysql.rb
84
98
- lib/itamae/plugin/recipe/daddy/mysql/install.rb
85
- - lib/itamae/plugin/recipe/daddy/mysql/mysql_secure_installation.sh
86
99
- lib/itamae/plugin/recipe/daddy/mysql/templates/daddy.cnf.erb
87
100
- lib/itamae/plugin/recipe/daddy/mysql/templates/my.cnf.erb
88
101
- lib/itamae/plugin/recipe/daddy/nginx.rb
@@ -95,6 +108,7 @@ files:
95
108
- lib/itamae/plugin/recipe/daddy/nginx/nginx-1.14.0_sha256sum.txt
96
109
- lib/itamae/plugin/recipe/daddy/nginx/nginx-1.14.2_sha256sum.txt
97
110
- lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.0_sha256sum.txt
111
+ - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.1_sha256sum.txt
98
112
- lib/itamae/plugin/recipe/daddy/nginx/start.rb
99
113
- lib/itamae/plugin/recipe/daddy/nginx/stop.rb
100
114
- lib/itamae/plugin/recipe/daddy/nginx/templates/etc/nginx/conf.d/default.conf.erb
@@ -108,31 +122,12 @@ files:
108
122
- lib/itamae/plugin/recipe/daddy/passenger/install.rb
109
123
- lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb
110
124
- lib/itamae/plugin/recipe/daddy/postgresql.rb
111
- - lib/itamae/plugin/recipe/daddy/postgresql/install.rb
112
- - lib/itamae/plugin/recipe/daddy/postgresql/templates/var/lib/pgsql/data/pg_hba.conf.erb
113
125
- lib/itamae/plugin/recipe/daddy/python.rb
114
126
- lib/itamae/plugin/recipe/daddy/python/Python-3.6.3_sha256sum.txt
115
127
- lib/itamae/plugin/recipe/daddy/python/Python-3.6.6_sha256sum.txt
116
128
- lib/itamae/plugin/recipe/daddy/python/install.rb
117
129
- lib/itamae/plugin/recipe/daddy/redis/install.rb
118
130
- lib/itamae/plugin/recipe/daddy/redmine.rb
119
- - lib/itamae/plugin/recipe/daddy/redmine/install.rb
120
- - lib/itamae/plugin/recipe/daddy/redmine/redmine-3.4.10_sha256sum.txt
121
- - lib/itamae/plugin/recipe/daddy/redmine/templates/configuration.yml.erb
122
- - lib/itamae/plugin/recipe/daddy/redmine/templates/database.yml.erb
123
- - lib/itamae/plugin/recipe/daddy/selenium/chrome.rb
124
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb
125
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt
126
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.37_sha256sum.txt
127
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.40_sha256sum.txt
128
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.42_sha256sum.txt
129
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.45_sha256sum.txt
130
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-74.0.3729.6_sha256sum.txt
131
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.19.1-linux64_sha256sum.txt
132
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver-v0.22.0-linux64_sha256sum.txt
133
- - lib/itamae/plugin/recipe/daddy/selenium/drivers/geckodriver.rb
134
- - lib/itamae/plugin/recipe/daddy/selenium/install.rb
135
- - lib/itamae/plugin/recipe/daddy/selenium/templates/etc/yum.repos.d/google-chrome.repo.erb
136
131
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf.rb
137
132
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/install.rb
138
133
- lib/itamae/plugin/recipe/daddy/wkhtmltopdf/wkhtmltox-0.12.5-1.centos7_sha256sum.txt