itamae-plugin-recipe-letsencrypt 0.1.0 → 0.2.0

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d5c841f3ea05fb37c00d0a8c31659b7de8ae926
4
- data.tar.gz: 31c79ab6ea3f757af1c51b4b8c3b7c5a34a05f0c
3
+ metadata.gz: 5cab6a96bbe1a652752f51cb5c8a2dda729de71d
4
+ data.tar.gz: f53c61dc7425fda6aa0ed4fddb26559d24c5af97
5
5
  SHA512:
6
- metadata.gz: cadc176761280dbd078239e072d26fb9cfd4d9849c06fea7eaafeed19880742fe1cf1f39fcc3078ed29315371618444230f720370574597ffc39fb4a385d9a0c
7
- data.tar.gz: 179ddf6c2f17aee84486eadd1ba78495048d5594d4e1c592843fa470f41442b6db0bb305a509cabdd0f5d623fef90f6fa33af4c6e5124b852572bc198c259f52
6
+ metadata.gz: ee99ff4816c384bbfa7723a497bfbf3cc1598c318f7ada5bfa0899b1ffc7431e53494f0b6f1eef1ef5cf17d674a3f7a23492a5de3ea81cd75918c89c61f00c81
7
+ data.tar.gz: e2557da0e30933b3ef02b44a9b19d0f792af5ed6d04885592d336fdad8a30dbf9cc3ae7005a2e1896efbc752350c6d63108ec1054ddba256cf3a10fa4598ad71
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## v0.2.0 - 2016/12/18
2
+ - Support Standalone Challenge Type
3
+
4
+ ## v0.1.0 - 2016/12/18
5
+ - First release :tada:
data/README.md CHANGED
@@ -44,12 +44,14 @@ letsencrypt:
44
44
  cron_user: root
45
45
  cron_file_path: /etc/cron.d/itamae-letsencrypt
46
46
  cron_configuration: true
47
+ challenge_type: 'http-01' # port80 is http-01, port443 is tls-sni-01
47
48
  domains:
48
49
  - test.example.com
49
50
  - test2.example.com
50
51
  ```
51
52
 
52
53
 
54
+
53
55
  ## Contributing
54
56
 
55
57
  1. Fork it ( https://github.com/hatappi/itamae-plugin-recipe-letsencrypt/fork )
@@ -3,7 +3,8 @@ node.reverse_merge!(
3
3
  certbot_auto_path: '/usr/bin/certbot-auto',
4
4
  cron_user: 'root',
5
5
  cron_file_path: '/etc/cron.d/itamae-letsencrypt',
6
- cron_configuration: true
6
+ cron_configuration: true,
7
+ challenge_type: 'http-01'
7
8
  }
8
9
  )
9
10
 
@@ -22,7 +23,7 @@ end
22
23
  # get each domain certificate
23
24
  node[:letsencrypt][:domains].each do |domain|
24
25
  execute "get #{domain} certificate" do
25
- command "#{node[:letsencrypt][:certbot_auto_path]} certonly --agree-tos -d #{domain} -m #{node[:letsencrypt][:email]} -a standalone --keep -n"
26
+ command "#{node[:letsencrypt][:certbot_auto_path]} certonly --agree-tos -d #{domain} -m #{node[:letsencrypt][:email]} -a standalone --keep -n --standalone-supported-challenges #{node[:letsencrypt][:challenge_type]}"
26
27
  end
27
28
  end
28
29
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Letsencrypt
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-letsencrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusaku Hatanaka (hatappi)
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - CHANGELOG.md
63
64
  - CODE_OF_CONDUCT.md
64
65
  - Gemfile
65
66
  - LICENSE