Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chef-handler-mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
chef-handler-mail
Commits
8715cbe2
Commit
8715cbe2
authored
13 years ago
by
Mathieu Sauve-Frankel
Browse files
Options
Downloads
Patches
Plain Diff
include documentation that actually works
parent
ef1cd583
No related branches found
Branches containing commit
Tags
v0.1.2
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+8
-12
8 additions, 12 deletions
README.md
lib/chef/handler/mail/version.rb
+1
-1
1 addition, 1 deletion
lib/chef/handler/mail/version.rb
with
9 additions
and
13 deletions
README.md
+
8
−
12
View file @
8715cbe2
...
...
@@ -6,18 +6,14 @@ Opcode wiki at http://wiki.opscode.com/display/chef/Exception+and+Report+Handler
# USAGE:
Using chef_handler LWRP:
include_recipe "chef_handler"
gem_package "chef-handler-mail" do
action :nothing
end.run_action(:install)
chef_handler 'mail-handler' do
source 'chef/handler/mail'
args :to_address "admins@example.com"
end
Using /etc/chef/config.rb
require 'rubygems'
require 'chef/mail/handler'
mail_handler = MailHandler.new
report_handlers << mail_handler
exception_handlers << mail_handler
# LICENSE AND AUTHOR:
...
...
This diff is collapsed.
Click to expand it.
lib/chef/handler/mail/version.rb
+
1
−
1
View file @
8715cbe2
class
MailHandler
VERSION
=
"0.1.
1
"
VERSION
=
"0.1.
2
"
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment