poise-tls-remote-file 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.kitchen.yml +3 -0
  4. data/.travis.yml +56 -0
  5. data/.yardopts +7 -0
  6. data/CHANGELOG.md +5 -0
  7. data/Gemfile +34 -0
  8. data/LICENSE +201 -0
  9. data/README.md +82 -0
  10. data/Rakefile +17 -0
  11. data/chef/attributes/default.rb +24 -0
  12. data/lib/poise_tls_remote_file.rb +21 -0
  13. data/lib/poise_tls_remote_file/cheftie.rb +17 -0
  14. data/lib/poise_tls_remote_file/resources.rb +26 -0
  15. data/lib/poise_tls_remote_file/resources/poise_tls_remote_file.rb +148 -0
  16. data/lib/poise_tls_remote_file/version.rb +20 -0
  17. data/poise-tls-remote-file.gemspec +41 -0
  18. data/test/cookbook/files/ca.crt +33 -0
  19. data/test/cookbook/files/ca.key +51 -0
  20. data/test/cookbook/files/client.crt +29 -0
  21. data/test/cookbook/files/client.csr +27 -0
  22. data/test/cookbook/files/client.key +51 -0
  23. data/test/cookbook/files/client.pem +80 -0
  24. data/test/cookbook/files/server.crt +30 -0
  25. data/test/cookbook/files/server.csr +27 -0
  26. data/test/cookbook/files/server.key +51 -0
  27. data/test/cookbook/metadata.rb +19 -0
  28. data/test/cookbook/recipes/default.rb +96 -0
  29. data/test/gemfiles/chef-12.10.gemfile +23 -0
  30. data/test/gemfiles/chef-12.11.gemfile +23 -0
  31. data/test/gemfiles/chef-12.12.gemfile +22 -0
  32. data/test/gemfiles/chef-12.13.gemfile +22 -0
  33. data/test/gemfiles/chef-12.14.gemfile +19 -0
  34. data/test/gemfiles/chef-12.15.gemfile +19 -0
  35. data/test/gemfiles/chef-12.16.gemfile +19 -0
  36. data/test/gemfiles/chef-12.17.gemfile +19 -0
  37. data/test/gemfiles/chef-12.18.gemfile +19 -0
  38. data/test/gemfiles/chef-12.19.gemfile +19 -0
  39. data/test/gemfiles/chef-12.5.gemfile +23 -0
  40. data/test/gemfiles/chef-12.6.gemfile +23 -0
  41. data/test/gemfiles/chef-12.7.gemfile +23 -0
  42. data/test/gemfiles/chef-12.8.gemfile +23 -0
  43. data/test/gemfiles/chef-12.9.gemfile +23 -0
  44. data/test/gemfiles/chef-12.gemfile +19 -0
  45. data/test/gemfiles/chef-13.0.gemfile +19 -0
  46. data/test/gemfiles/chef-13.gemfile +19 -0
  47. data/test/gemfiles/master.gemfile +24 -0
  48. data/test/integration/default/serverspec/default_spec.rb +30 -0
  49. data/test/spec/resources/poise_tls_remote_file_spec.rb +330 -0
  50. data/test/spec/spec_helper.rb +19 -0
  51. metadata +192 -0
@@ -0,0 +1,21 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+
18
+ module PoiseTlsRemoteFile
19
+ autoload :Resources, 'poise_tls_remote_file/resources'
20
+ autoload :VERSION, 'poise_tls_remote_file/version'
21
+ end
@@ -0,0 +1,17 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ require 'poise_tls_remote_file/resources'
@@ -0,0 +1,26 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ require 'poise_tls_remote_file/resources/poise_tls_remote_file'
18
+
19
+
20
+ module PoiseTlsRemoteFile
21
+ # Chef resources and providers for poise-tls-remote-file.
22
+ #
23
+ # @since 1.0.0
24
+ module Resources
25
+ end
26
+ end
@@ -0,0 +1,148 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ require 'chef/resource/remote_file'
18
+ require 'chef/provider/remote_file'
19
+
20
+
21
+ module PoiseTlsRemoteFile
22
+ module Resources
23
+ # (see PoiseTlsRemoteFile::Resource)
24
+ # @since 1.0.0
25
+ module PoiseTlsRemoteFile
26
+ # A `tls_remote_file` resource to do something.
27
+ #
28
+ # @provides tls_remote_file
29
+ # @action run
30
+ # @example
31
+ # tls_remote_file '/path/to/file' do
32
+ # client_cert '/etc/ssl/client.crt'
33
+ # client_key '/etc/ssl/private/client.key'
34
+ # end
35
+ class Resource < Chef::Resource::RemoteFile
36
+ resource_name(:tls_remote_file)
37
+
38
+ def initialize(*args)
39
+ super
40
+ @provider = PoiseTlsRemoteFile::Provider if defined?(@provider)
41
+ end
42
+
43
+ property(:client_cert, kind_of: [String, NilClass], default: lazy { default_client_cert })
44
+ property(:client_key, kind_of: [String, NilClass], default: lazy { default_client_key })
45
+ property(:ca, kind_of: [String, Array, NilClass], default: lazy { default_ca })
46
+
47
+ def client_cert_obj
48
+ OpenSSL::X509::Certificate.new(maybe_read_file(client_cert)) if client_cert
49
+ end
50
+
51
+ def client_key_obj
52
+ if client_key
53
+ OpenSSL::PKey::RSA.new(maybe_read_file(client_key))
54
+ elsif client_cert
55
+ begin
56
+ OpenSSL::PKey::RSA.new(maybe_read_file(client_cert))
57
+ rescue OpenSSL::PKey::RSAError
58
+ # It didn't have a key in it, oh well.
59
+ nil
60
+ end
61
+ end
62
+ end
63
+
64
+ def ca_objs
65
+ Array(ca).map do |path|
66
+ OpenSSL::X509::Certificate.new(maybe_read_file(path)) if path
67
+ end
68
+ end
69
+
70
+ private
71
+
72
+ def default_client_cert
73
+ node['poise-tls-remote-file']['client_cert']
74
+ end
75
+
76
+ def default_client_key
77
+ node['poise-tls-remote-file']['client_key']
78
+ end
79
+
80
+ def default_ca
81
+ node['poise-tls-remote-file']['ca']
82
+ end
83
+
84
+ def maybe_read_file(path)
85
+ if path =~ /\A(\/|\w:)/
86
+ IO.read(path)
87
+ else
88
+ # Looks like a literal value.
89
+ path
90
+ end
91
+ end
92
+ end
93
+
94
+ # Provider for `tls_remote_file`.
95
+ #
96
+ # @see Resource
97
+ # @provides tls_remote_file
98
+ class Provider < Chef::Provider::RemoteFile
99
+ provides(:tls_remote_file)
100
+
101
+ def initialize(*args)
102
+ super
103
+ @content_class = PoiseTlsRemoteFile::Content
104
+ end
105
+ end
106
+
107
+ # Content class for `tls_remote_file`.
108
+ #
109
+ # @see Resource
110
+ class Content < Chef::Provider::RemoteFile::Content
111
+ def grab_file_from_uri(uri)
112
+ PoiseTlsRemoteFile::Fetcher.new(uri, @new_resource, @current_resource).fetch
113
+ end
114
+ end
115
+
116
+ # Fetcher class for `tls_remote_file`.
117
+ #
118
+ # @see Resource
119
+ class Fetcher < Chef::Provider::RemoteFile::HTTP
120
+ def fetch
121
+ client_cert = new_resource.client_cert_obj
122
+ client_key = new_resource.client_key_obj
123
+ ca = new_resource.ca_objs
124
+ begin
125
+ Chef::HTTP::Simple.singleton_class.send(:define_method, :new) do |*args|
126
+ super(*args).tap do |http_simple|
127
+ http_simple.singleton_class.prepend(Module.new {
128
+ define_method(:http_client) do |*inner_args|
129
+ super(*inner_args).tap do |client|
130
+ client.http_client.cert = client_cert if client_cert
131
+ client.http_client.key = client_key if client_key
132
+ ca.each {|cert| client.http_client.cert_store.add_cert(cert) if cert }
133
+ end
134
+ end
135
+ })
136
+ end
137
+ end
138
+ super
139
+ ensure
140
+ Chef::HTTP::Simple.singleton_class.send(:remove_method, :new)
141
+ end
142
+ end
143
+ end
144
+
145
+ end
146
+ end
147
+ end
148
+
@@ -0,0 +1,20 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+
18
+ module PoiseTlsRemoteFile
19
+ VERSION = '1.0.0'
20
+ end
@@ -0,0 +1,41 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ lib = File.expand_path('../lib', __FILE__)
18
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
19
+ require 'poise_tls_remote_file/version'
20
+
21
+ Gem::Specification.new do |spec|
22
+ spec.name = 'poise-tls-remote-file'
23
+ spec.version = PoiseTlsRemoteFile::VERSION
24
+ spec.authors = ['Noah Kantrowitz']
25
+ spec.email = %w{noah@coderanger.net}
26
+ spec.description = 'A Chef cookbook for managing something.'
27
+ spec.summary = spec.description
28
+ spec.homepage = 'https://github.com/poise/poise-tls-remote-file'
29
+ spec.license = 'Apache 2.0'
30
+
31
+ spec.files = `git ls-files`.split($/)
32
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
33
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
34
+ spec.require_paths = %w{lib}
35
+
36
+ spec.add_dependency 'chef', '>= 12.5', '< 14'
37
+ spec.add_dependency 'halite', '~> 1.0'
38
+
39
+ spec.add_development_dependency 'poise-boiler', '~> 1.15'
40
+ spec.add_development_dependency 'poise-service', '~> 1.0'
41
+ end
@@ -0,0 +1,33 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIFtTCCA52gAwIBAgIJAM+EuOk3iJp0MA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
3
+ BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
4
+ aWRnaXRzIFB0eSBMdGQwHhcNMTcwNDE0MDYxNjU4WhcNMTgwNDE0MDYxNjU4WjBF
5
+ MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
6
+ ZXJuZX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