itamae-plugin-recipe-nginx_build 0.1.0 → 0.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf76e85ddac516da9b395b7823fc14a5b221cc3
|
4
|
+
data.tar.gz: 0ca8dddcd9a98ba1408b3afcd2dbe0eace415ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a87fe5126e5e86443168630a352fc00feb06fe9a664882776f6d64d00ba094bbb094ef70e005a17c1aeea34984071e0f55df361b528d0f651219a3b955a5829
|
7
|
+
data.tar.gz: 85b6e4c039d63aebb6410745bf87ae923d904e574cb455d2f4e0c36c60a8dba1ce18bef24a4f97d2cafa5c55e1259ee96047c8b58e2181aabbc467d937f1ba20
|
data/README.md
CHANGED
@@ -31,6 +31,9 @@ nginx_modules3rds = node[:nginx_build][:modules3rds] if node[:nginx_build] && no
|
|
31
31
|
nginx_version = "1.8.0"
|
32
32
|
nginx_version = node[:nginx_build][:nginx_version] if node[:nginx_build] && node[:nginx_build][:nginx_version]
|
33
33
|
|
34
|
+
build_user = "ec2-user"
|
35
|
+
build_user = node[:nginx_build][:build_user] if node[:nginx_build] && node[:nginx_build][:build_user]
|
36
|
+
|
34
37
|
if configure_path =~ /^(.+)\/([^\/]+)$/
|
35
38
|
directory $1
|
36
39
|
|
@@ -65,9 +68,9 @@ if modules3rd_path =~ /^(.+)\/([^\/]+)$/
|
|
65
68
|
end
|
66
69
|
|
67
70
|
execute "build-nginx" do
|
68
|
-
command "#{nginx_build_bin}nginx-build -d work -v #{nginx_version} -c #{configure_path} -m #{modules3rd_path}"
|
69
|
-
|
70
|
-
action :nothing
|
71
|
+
command "#{nginx_build_bin}nginx-build -d work -v #{nginx_version} -c #{configure_path} -m #{modules3rd_path} && cd ~/work/nginx/#{nginx_version}/nginx-#{nginx_version} && sudo make install"
|
72
|
+
user build_user
|
73
|
+
# action :nothing
|
71
74
|
end
|
72
75
|
|
73
76
|
template "/etc/init.d/nginx" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-nginx_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|