itamae-plugin-recipe-daddy 0.1.18 → 0.1.19

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: 5304d92e7d416b477f5b60e3f31d6168c2b8d80f36b6e1e449f9a972a80151d1
4
- data.tar.gz: f5580ed5f52540b001ff6577a2909b639697e70828968e71c11ca657f5bd811f
3
+ metadata.gz: 9b92a2bab537dcdb0a6ad5d66c440d074bbed35747bff8280f8547511a89c26f
4
+ data.tar.gz: 6f66fcba5db0f1b33096428f494c2bd7e5c41fd728a802817b74ab4700a55c6e
5
5
  SHA512:
6
- metadata.gz: a121adadf0caf0340efa8099b334fd3c76fb7bc9625389923a4b669e847dfc3f88d00c471cb76c3949210d183ae1675e4c0230d0deb3e3807e9ab99e88590ba0
7
- data.tar.gz: 26eca664dfa1afac0dfdc37eb9e0bbe3fdc579f275558d977b3eaa91b4da1623f91d7832ba51376d7ec9e86c0f2f70279fb593b10c514e31c5b1b2d11bd3409a
6
+ metadata.gz: b779f4c9f94dbac651aa5947b733522c04f63f75db2a8a0c413dc45e93043ce45083104f2d35bfafb9ffdd2e2415097b44cd987c851d3db77c75d4a94865dc65
7
+ data.tar.gz: 044c99a9c8c6bba24e57cad58c5031366c596715fae458bfd2bb30c78a761236e408012baf2fadb7cb573c3b04139f7237330bb55fcfe6139368b6a9b8fe2f32
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  /.buildpath
2
2
  /.project
3
3
  /pkg/
4
+ /Gemfile.lock
@@ -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-passenger', '~> 0.1'
25
26
  spec.add_dependency 'itamae-plugin-recipe-selenium', '~> 0.1'
26
27
 
27
28
  spec.add_development_dependency "bundler", "~> 2.0"
@@ -36,12 +36,12 @@ execute "download nginx-#{version}" do
36
36
  command <<-EOF
37
37
  wget https://nginx.org/download/nginx-#{version}.tar.gz
38
38
  EOF
39
- not_if "echo #{::File.read(::File.join(::File.dirname(__FILE__), "nginx-#{version}_sha256sum.txt")).strip} | sha256sum -c"
39
+ not_if "test -e /opt/openresty/#{version}/INSTALLED || echo #{::File.read(::File.join(::File.dirname(__FILE__), "nginx-#{version}_sha256sum.txt")).strip} | sha256sum -c"
40
40
  end
41
41
 
42
42
  # module sources
43
43
  include_recipe 'modules/nginx-rtmp-module'
44
- include_recipe 'modules/passenger'
44
+ include_recipe 'passenger'
45
45
 
46
46
  # build
47
47
  execute 'build nginx' do
@@ -56,8 +56,10 @@ execute 'build nginx' do
56
56
  --conf-path=/etc/nginx/nginx.conf \
57
57
  --pid-path=/run/nginx.pid \
58
58
  --with-http_ssl_module \
59
+ --with-http_realip_module \
60
+ --with-pcre-jit \
59
61
  --add-dynamic-module=/opt/nginx-rtmp-module/v#{rtmp_version} \
60
- --add-dynamic-module=$(passenger-config --nginx-addon-dir)
62
+ --add-dynamic-module=/opt/passenger/current/src/nginx_module
61
63
  sudo chown -R #{ENV['USER']}:#{ENV['USER']} ./
62
64
  make
63
65
  sudo make install
@@ -83,7 +85,6 @@ end
83
85
 
84
86
  %w{
85
87
  /etc/nginx/conf.d
86
- /var/run/passenger-instreg
87
88
  }.each do |name|
88
89
  directory name do
89
90
  user 'root'
@@ -93,15 +94,6 @@ end
93
94
  end
94
95
  end
95
96
 
96
- template '/etc/tmpfiles.d/passenger.conf' do
97
- user 'root'
98
- owner 'root'
99
- group 'root'
100
- mode '644'
101
- variables path: '/var/run/passenger-instreg',
102
- owner: 'root', group: 'root', mode: '0755'
103
- end
104
-
105
97
  template '/etc/nginx/conf.d/default.conf' do
106
98
  user 'root'
107
99
  owner 'root'
@@ -117,7 +109,7 @@ directory '/etc/nginx/conf.d/servers' do
117
109
  end
118
110
 
119
111
  if app_type
120
- include_recipe File.join(File.dirname(File.dirname(__FILE__)), app_type, 'install.rb')
112
+ include_recipe File.join(File.dirname(File.dirname(__FILE__)), app_type, 'config.rb')
121
113
  end
122
114
 
123
115
  unless ENV['DOCKER']
@@ -1,5 +1,5 @@
1
1
  module ItamaePluginRecipeDaddy
2
- VERSION = '0.1.18'
2
+ VERSION = '0.1.19'
3
3
 
4
4
  NGINX_VERSION = [
5
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.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-26 00:00:00.000000000 Z
11
+ date: 2020-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -30,6 +30,20 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.10.2
33
+ - !ruby/object:Gem::Dependency
34
+ name: itamae-plugin-recipe-passenger
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'
33
47
  - !ruby/object:Gem::Dependency
34
48
  name: itamae-plugin-recipe-selenium
35
49
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +95,6 @@ extra_rdoc_files: []
81
95
  files:
82
96
  - ".gitignore"
83
97
  - Gemfile
84
- - Gemfile.lock
85
98
  - LICENSE.txt
86
99
  - README.md
87
100
  - Rakefile
@@ -103,11 +116,7 @@ files:
103
116
  - lib/itamae/plugin/recipe/daddy/nginx/modules/nginx-rtmp-module.rb
104
117
  - lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
105
118
  - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.13.12_sha256sum.txt
106
- - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.13.5_sha256sum.txt
107
- - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.13.9_sha256sum.txt
108
- - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.14.0_sha256sum.txt
109
119
  - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.14.2_sha256sum.txt
110
- - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.0_sha256sum.txt
111
120
  - lib/itamae/plugin/recipe/daddy/nginx/nginx-1.16.1_sha256sum.txt
112
121
  - lib/itamae/plugin/recipe/daddy/nginx/start.rb
113
122
  - lib/itamae/plugin/recipe/daddy/nginx/stop.rb
@@ -119,7 +128,7 @@ files:
119
128
  - lib/itamae/plugin/recipe/daddy/opencv/install.rb
120
129
  - lib/itamae/plugin/recipe/daddy/opencv/opencv-3.3.1_sha256sum.txt
121
130
  - lib/itamae/plugin/recipe/daddy/opencv/opencv-3.4.3_sha256sum.txt
122
- - lib/itamae/plugin/recipe/daddy/passenger/install.rb
131
+ - lib/itamae/plugin/recipe/daddy/passenger/config.rb
123
132
  - lib/itamae/plugin/recipe/daddy/passenger/templates/_passenger.conf.erb
124
133
  - lib/itamae/plugin/recipe/daddy/postgresql.rb
125
134
  - lib/itamae/plugin/recipe/daddy/python.rb
@@ -1,44 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- itamae-plugin-recipe-daddy (0.1.18)
5
- itamae (~> 1.10, >= 1.10.2)
6
- itamae-plugin-recipe-selenium (~> 0.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- ansi (1.5.0)
12
- hashie (3.6.0)
13
- itamae (1.10.6)
14
- ansi
15
- hashie
16
- schash (~> 0.1.0)
17
- specinfra (>= 2.64.0, < 3.0.0)
18
- thor
19
- itamae-plugin-recipe-selenium (0.1.0)
20
- itamae (~> 1.10, >= 1.10.4)
21
- net-scp (2.0.0)
22
- net-ssh (>= 2.6.5, < 6.0.0)
23
- net-ssh (5.2.0)
24
- net-telnet (0.1.1)
25
- rake (12.3.3)
26
- schash (0.1.2)
27
- sfl (2.3)
28
- specinfra (2.82.3)
29
- net-scp
30
- net-ssh (>= 2.7)
31
- net-telnet (= 0.1.1)
32
- sfl
33
- thor (0.20.3)
34
-
35
- PLATFORMS
36
- ruby
37
-
38
- DEPENDENCIES
39
- bundler (~> 2.0)
40
- itamae-plugin-recipe-daddy!
41
- rake (~> 12.3)
42
-
43
- BUNDLED WITH
44
- 2.0.2
@@ -1 +0,0 @@
1
- 0e75b94429b3f745377aeba3aff97da77bf2b03fcb9ff15b3bad9b038db29f2e nginx-1.13.5.tar.gz
@@ -1 +0,0 @@
1
- 5faea18857516fe68d30be39c3032bd22ed9cf85e1a6fdf32e3721d96ff7fa42 nginx-1.13.9.tar.gz
@@ -1 +0,0 @@
1
- 5d15becbf69aba1fe33f8d416d97edd95ea8919ea9ac519eff9bafebb6022cb5 nginx-1.14.0.tar.gz
@@ -1 +0,0 @@
1
- 4fd376bad78797e7f18094a00f0f1088259326436b537eb5af69b01be2ca1345 nginx-1.16.0.tar.gz