recipiez 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/apache.rb +7 -3
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
data/recipes/apache.rb
CHANGED
@@ -16,13 +16,17 @@ Capistrano::Configuration.instance(true).load do
|
|
16
16
|
|
17
17
|
desc "PHP Vhost Setup"
|
18
18
|
task :php_vhost do
|
19
|
-
|
19
|
+
|
20
20
|
_cset :apache_port, '80'
|
21
21
|
_cset :allowed_ips, []
|
22
22
|
_cset :server_aliases, []
|
23
|
-
_cset :ssl, 'off'
|
24
23
|
_cset :ssl_chain, 'none'
|
25
|
-
|
24
|
+
|
25
|
+
unless exists? :ssl
|
26
|
+
set :ssl, 'off'
|
27
|
+
end
|
28
|
+
|
29
|
+
|
26
30
|
logger.info "generating .conf file"
|
27
31
|
logger.info "placing #{application}.conf on remote server"
|
28
32
|
apache_conf = "/etc/apache2/sites-available/#{application}"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recipiez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|