wjimenez5271-chef-handler-mail 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ed7ea46bb28eadd629aff3babe6337cbb6763a1
|
4
|
+
data.tar.gz: f225456ad819ecc4bedb62ddfb702c511af35026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a98fb6b3b10a43f3a6e7c1862c501cface3156bd1cef3913c55aad36f0baed36af1de4b325ddd0d552e9a2b4ab0f76e19fc818f19d7c80cf751e2037f225465
|
7
|
+
data.tar.gz: 6c2ae096f45f6ba4e0d6ff2e9d3f2ff0d1cd632d1c89334656cbe0f844ca29c1d5be011123e8633f51f5501ec704754e74bab5397c507ca4fff8f5495c52ecaf
|
File without changes
|
@@ -17,13 +17,14 @@ require 'chef'
|
|
17
17
|
require 'chef/handler'
|
18
18
|
require 'erubis'
|
19
19
|
require 'pony'
|
20
|
+
require 'socket'
|
20
21
|
|
21
22
|
class MailHandler < Chef::Handler
|
22
23
|
attr_reader :options
|
23
24
|
def initialize(opts = {})
|
24
25
|
@options = {
|
25
26
|
:to_address => "root",
|
26
|
-
:from_address => "chef-client@#{
|
27
|
+
:from_address => "chef-client@#{Socket.gethostname}",
|
27
28
|
:template_path => File.join(File.dirname(__FILE__), "mail.erb")
|
28
29
|
}
|
29
30
|
@options.merge! opts
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wjimenez5271-chef-handler-mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Jimenez
|
@@ -33,9 +33,9 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- LICENSE
|
35
35
|
- README.md
|
36
|
-
- lib/chef/handler/mail/version.rb
|
37
|
-
- lib/chef/handler/mail.erb
|
38
|
-
- lib/chef/handler/mail.rb
|
36
|
+
- lib/wjimenez5271/chef/handler/mail/version.rb
|
37
|
+
- lib/wjimenez5271/chef/handler/mail.erb
|
38
|
+
- lib/wjimenez5271/chef/handler/mail.rb
|
39
39
|
homepage: https://github.com/wjimenez5271/chef-handler-mail
|
40
40
|
licenses: []
|
41
41
|
metadata: {}
|