Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliandunn/cookbook_versions_handler
Development repository for Chef Cookbook Versions Handler
https://github.com/juliandunn/cookbook_versions_handler
Last synced: about 2 months ago
JSON representation
Development repository for Chef Cookbook Versions Handler
- Host: GitHub
- URL: https://github.com/juliandunn/cookbook_versions_handler
- Owner: juliandunn
- License: other
- Created: 2013-11-26T03:18:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-08T04:36:38.000Z (about 10 years ago)
- Last Synced: 2024-08-03T18:16:16.668Z (4 months ago)
- Language: Ruby
- Size: 118 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chef - Chef Cookbook Version Handler - This cookbook installs a Chef report handler to log the cookbooks and versions run on the node as part of the Chef run. (Chef handlers / Resources - Application configuration)
README
Chef Cookbook Versions Handler
==============================This cookbook installs a [Chef report handler](http://docs.getchef.com/essentials_handlers.html) to log the cookbooks and versions run on the node as part of the Chef run.
You don't need this handler if you're running a sufficiently new version of Chef Client. Newer versions will display output like this:
```
[2014-10-07T21:23:04-07:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected]]
```Requirements
============Runs on any platform that Chef runs on.
Depends on the `chef_handler` community cookbook.
Usage
=====default
-------Put the recipe `cookbook_versions_handler` early in your run list so that it's registered with the Chef run.
Sample output:```text
[2013-11-26T03:11:06+00:00] INFO: Chef Run complete in 0.300029878 seconds
[2013-11-26T03:11:06+00:00] INFO: Running report handlers
[2013-11-26T03:11:06+00:00] INFO: Cookbooks and versions run: ["chef_handler 1.1.4", "cookbook_versions_handler 1.0.0"]
[2013-11-26T03:11:06+00:00] INFO: Report handlers complete
```License and Author
==================Author:: Julian C. Dunn ()
Copyright:: 2013, Opscode, Inc.
Copyright:: 2014, Chef Software, Inc.Licensed 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.