Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtimberman/chef-handler-updated-resources
Simple Report Handler of Updated Resources
https://github.com/jtimberman/chef-handler-updated-resources
Last synced: 26 days ago
JSON representation
Simple Report Handler of Updated Resources
- Host: GitHub
- URL: https://github.com/jtimberman/chef-handler-updated-resources
- Owner: jtimberman
- License: apache-2.0
- Archived: true
- Created: 2011-04-25T05:43:28.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-11-03T15:29:14.000Z (about 9 years ago)
- Last Synced: 2024-10-31T13:24:53.997Z (about 1 month ago)
- Language: Ruby
- Homepage: http://jtimberman.posterous.com/a-simple-report-handler
- Size: 133 KB
- Stars: 22
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chef - Chef Updated Resources Handler - Simple Report Handler of Updated Resources. (Chef handlers / Resources - Application configuration)
README
# chef-handler-updated-resources
Chef report handler to display resources updated in the Chef Run.
# Installation
This report handler should be installed into the Ruby environment used by Chef. This can be done with `/opt/chef/embedded/bin/gem` or `c:\opscode\embedded\bin\gem`. Or, it can be installed using the `chef_gem` resource.
# Usage
Configure `/etc/chef/client.rb` or other config file:
```ruby
require 'chef/handler/updated_resources'
report_handlers << SimpleReport::UpdatedResources.new
```Optionally, pass an argument specifying a prefix for updated resource messages. The default is `' '` (two spaces). This may make it easier to grep for updated resources, depending on your tooling.
```ruby
require 'chef/handler/updated_resources'
report_handlers << SimpleReport::UpdatedResources.new('GREPME')
```Or, use the [chef_handler cookbook](https://supermarket.chef.io/cookbooks/chef_handler).
```ruby
chef_gem 'chef-handler-updated-resources' do
compile_time true
endchef_handler 'SimpleReport::UpdatedResources' do
source 'chef/handler/updated_resources'
action :enable
end
```# License and Author
- Author: Joshua Timberman
- Copyright 2011-2015, Joshua TimbermanLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.