magic_recipes_two 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
Yzk1NDA3YjFjNzFjMDgxZmFmNDQzMTgxZDhhYzY2NzM4MDFhMzBkOQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDA3YjIzNjJkMzQ0Y2ExNGJkM2ZkZGEzOWZjZWZkZjIyOThkYjQ0NQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ODVkZTRiMzQ2MDI5MzM3ODQ3NjM0MjI1YTQxM2ZiMjFjYTY0YzUwMjZlNjc4
|
|
10
|
+
MjNkMWIwNWRiYjQ3OGNkYjE5MmZjZmZiYTBkODE4NzE5MjQyM2JjM2EwMDNj
|
|
11
|
+
MThhZWRlMmIzZGZjMWE5YTgwNTFlZGM4ZjE3ZGY0NDY5YmJhYzU=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YTY5YTNjMjY5YWU3MTQwMDMzM2JmOGMwMDRhYmNlOTI3ZDFlMjUyZjIwODdj
|
|
14
|
+
NDllODYxNjg2M2ZjYzBhYWUyNzVlZGUwZmZiZDYyNTdiN2RkOWM3MjU3NmZi
|
|
15
|
+
YmZkZTM1NjYwYWFhMWU4MjU0N2UxNzQyYjg0ZjA5MTQ2ZTA3MjA=
|
|
@@ -6,6 +6,7 @@ namespace :load do
|
|
|
6
6
|
set :lets_encrypt_roles, -> { :web }
|
|
7
7
|
set :lets_encrypt_path, -> { "~" }
|
|
8
8
|
set :lets_encrypt_domains, -> { fetch(:nginx_major_domain,false) ? [fetch(:nginx_major_domain)] + Array(fetch(:nginx_domains)) : Array(fetch(:nginx_domains)) }
|
|
9
|
+
set :lets_encrypt__www_domains, -> { true }
|
|
9
10
|
set :lets_encrypt_renew_minute, -> { "23" }
|
|
10
11
|
set :lets_encrypt_renew_hour1, -> { "0" }
|
|
11
12
|
set :lets_encrypt_renew_hour2, -> { "12" }
|
|
@@ -32,7 +33,7 @@ namespace :lets_encrypt do
|
|
|
32
33
|
task :certonly do
|
|
33
34
|
on release_roles fetch(:lets_encrypt_roles) do
|
|
34
35
|
# execute "./certbot-auto certonly --webroot -w /var/www/example -d example.com -d www.example.com -w /var/www/thing -d thing.is -d m.thing.is"
|
|
35
|
-
execute :sudo, "#{ fetch(:lets_encrypt_path) }/certbot-auto --non-interactive --agree-tos --email #{fetch(:lets_encrypt_email)} certonly --webroot -w #{current_path}/public #{ Array(fetch(:lets_encrypt_domains)).map{ |d| "-d #{d.gsub(/^\*?\./, "")} -d www.#{d.gsub(/^\*?\./, "")}" }.join(" ") }"
|
|
36
|
+
execute :sudo, "#{ fetch(:lets_encrypt_path) }/certbot-auto --non-interactive --agree-tos --email #{fetch(:lets_encrypt_email)} certonly --webroot -w #{current_path}/public #{ Array(fetch(:lets_encrypt_domains)).map{ |d| "-d #{d.gsub(/^\*?\./, "")} #{ fetch(:lets_encrypt__www_domains,false) ? " -d www.#{d.gsub(/^\*?\./, "")}" }" : "" }.join(" ") }"
|
|
36
37
|
end
|
|
37
38
|
end
|
|
38
39
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: magic_recipes_two
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.73
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Torsten Wetzel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|