matross 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/lib/matross/nginx.rb +1 -1
- data/lib/matross/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjA3ODRjMThlMzYzOTgxZGE5OTg0NTQ4NDNjZjcyODQxYjNlMmU1Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWUzYWRkYmFjOGU2ZmE3OGQwMTVmNjUwY2MwZDcyMDU5OGFjZDkzMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDJiNjU2M2U1ZTg5ZmQwNDUwODgxZjU1ZDNhY2VjNmQ4YjU2Y2U2MmRiYjgx
|
10
|
+
M2ZmMzY0ODNjYTVlOGU5ODY4MWUxNTlkODQ5OTEwNWFlN2JkNWY0ZmQ5N2E3
|
11
|
+
ODFmN2I3ZWE3MDcyNzI3ZTg5YzVhYWIxNTU5NmVlYTIwOTJmOTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzA1MjBkNDdiMDE3ODExNDA5YzY3ZDU0ZWVjNjhhOTVjNDExZjg0ZGVlN2Yx
|
14
|
+
MjRkNDM5YjA0M2I5YTVkMGYxNTJkODhhOTM4M2Y1YmU4ZWVlNDM3ZWRkN2Zj
|
15
|
+
N2Q4MmM2NDU1YjJhNDQyMGQ1NzQ4OTI0YWRlNjFmYThlNWRlYmM=
|
data/README.md
CHANGED
@@ -114,6 +114,8 @@ Procfile task: `web: bundle exec unicorn -c <%= unicorn_config %> -E <%= rails_e
|
|
114
114
|
|
115
115
|
This recipes creates and configures the virtual_host for the application. [This virtual host] has some sane defaults, suitable for most of our deployments (non-SSL). The file is created at `/etc/nginx/sites-available` and symlinked to `/etc/nginx/sites-enabled`. These are the defaults for the Nginx installation in Ubuntu. You can take a look at [our general `nginx.conf`](https://github.com/innvent/parcelles/blob/puppet/puppet/modules/nginx/files/nginx.conf).
|
116
116
|
|
117
|
+
Overwritable template: [`nginx_virtual_host_conf.erb`](lib/matross/templates/nginx/nginx_virtual_host_conf.erb)
|
118
|
+
|
117
119
|
> Variables
|
118
120
|
|
119
121
|
| Variable | Default value | Description |
|
@@ -121,8 +123,6 @@ This recipes creates and configures the virtual_host for the application. [This
|
|
121
123
|
| `:htpasswd` | None | `htpasswd` user:password format |
|
122
124
|
| `:nginx_default_server` | `false` | Sets the vhost for the specified stage as the default |
|
123
125
|
|
124
|
-
|
125
|
-
|
126
126
|
> Tasks
|
127
127
|
|
128
128
|
| Task | Description |
|
data/lib/matross/nginx.rb
CHANGED
@@ -5,7 +5,7 @@ namespace :nginx do
|
|
5
5
|
desc "Setup application in nginx"
|
6
6
|
task :setup, :roles => :web do
|
7
7
|
template "nginx/nginx_virtual_host_conf.erb", "/tmp/nginx_virtual_host_conf"
|
8
|
-
run "#{sudo} mv /nginx_virtual_host_conf /etc/nginx/sites-available/#{application}"
|
8
|
+
run "#{sudo} mv /tmp/nginx_virtual_host_conf /etc/nginx/sites-available/#{application}"
|
9
9
|
run "#{sudo} ln -fs /etc/nginx/sites-available/#{application} /etc/nginx/sites-enabled/#{application}"
|
10
10
|
end
|
11
11
|
after "deploy:setup", "nginx:setup"
|
data/lib/matross/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matross
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artur Rodrigues
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|