itamae-plugin-recipe-daddy 0.1.13 → 0.1.14

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: d00e2b2ff293d75a4e8f14fc736f46957e83f6ab3b0b9df6dae970d4a9075f93
4
- data.tar.gz: 802b3c1aea5a18130e30cbd684198daae812e529a718cdc3692ffb9eb659704a
3
+ metadata.gz: 97808540d4e2c62829aca4dc3940144ffd11830c8d934a9a390db7f4f37aee61
4
+ data.tar.gz: 52b0d376dd277dba3b6c51d7829ae4d2e992298b38edee98ddc31f37f97c0a6e
5
5
  SHA512:
6
- metadata.gz: 01bfbb6fd0aa8acc5d14f1d71b38ec9b58d9429e460ed85daaf9b90e07e5acd5b9dc78891fb953076bbcbacc86f9eb97c0c5cf7b909a894f2d57284902ebb8ab
7
- data.tar.gz: 8c05fbb0fd609fa0e2859c0774df8400bd61998e14ddcbf610601d505c308577ed43bb4e048856b1c032f7d86e2d3153872b0e1d1351d73e7a9e1b8503a83ce2
6
+ metadata.gz: 820466c35ba75f35d84376a36b7ee091c03591e22e8be3127950fe98a0eb82bc3004353499309dc32031482cb180a4fcad53a9cfecf47e9ac2eea60962fbd9fa
7
+ data.tar.gz: 4c5f4c955db5f1858614e4b908bb970d860386e7154145951e576e98ad97ba83e4fe02a189657b4f95edd9cdb08d5f0ebf4087aaea074913648c99a32483d041
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- itamae-plugin-recipe-daddy (0.1.13)
4
+ itamae-plugin-recipe-daddy (0.1.14)
5
5
  itamae (~> 1.10, >= 1.10.2)
6
6
 
7
7
  GEM
@@ -22,7 +22,7 @@ GEM
22
22
  rake (12.3.2)
23
23
  schash (0.1.2)
24
24
  sfl (2.3)
25
- specinfra (2.77.1)
25
+ specinfra (2.77.2)
26
26
  net-scp
27
27
  net-ssh (>= 2.7)
28
28
  net-telnet (= 0.1.1)
@@ -1,5 +1,5 @@
1
1
  module ItamaePluginRecipeDaddy
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
3
3
 
4
4
  CHROME_DRIVER_VERSION = [
5
5
  CHROME_DRIVER_VERSION_MAJOR = '74',
@@ -43,12 +43,6 @@ module ItamaePluginRecipeDaddy
43
43
  PYTHON_VERSION_PATCH = '6'
44
44
  ].join('.')
45
45
 
46
- REDMINE_VERSION = [
47
- REDMINE_VERSION_MAJOR = '3',
48
- REDMINE_VERSION_MINOR = '4',
49
- REDMINE_VERSION_PATCH = '10'
50
- ].join('.')
51
-
52
46
  WKHTMLTOPDF_VERSION = [
53
47
  WKHTMLTOPDF_VERSION_MAJOR = '0',
54
48
  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.14
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-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -108,18 +108,12 @@ files:
108
108
  - lib/itamae/plugin/recipe/daddy/passenger/install.rb
109
109
  - lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb
110
110
  - 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
111
  - lib/itamae/plugin/recipe/daddy/python.rb
114
112
  - lib/itamae/plugin/recipe/daddy/python/Python-3.6.3_sha256sum.txt
115
113
  - lib/itamae/plugin/recipe/daddy/python/Python-3.6.6_sha256sum.txt
116
114
  - lib/itamae/plugin/recipe/daddy/python/install.rb
117
115
  - lib/itamae/plugin/recipe/daddy/redis/install.rb
118
116
  - 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
117
  - lib/itamae/plugin/recipe/daddy/selenium/chrome.rb
124
118
  - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver.rb
125
119
  - lib/itamae/plugin/recipe/daddy/selenium/drivers/chromedriver_linux64-2.35_sha256sum.txt
@@ -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
@@ -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
@@ -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
@@ -1 +0,0 @@
1
- 30fb5b476ccf9ff3e3a1132b881a9a14e5b3f3c3c736aea4b29cdcc7cf739421 redmine-3.4.10.tar.gz
@@ -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
@@ -1,6 +0,0 @@
1
- production:
2
- adapter: postgresql
3
- database: redmine
4
- host: localhost
5
- username: redmine
6
- password: redmine