Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

chef-client_syslog (2) Versions 0.1.1

chef-client log to syslog

Policyfile
Berkshelf
Knife
cookbook 'chef-client_syslog', '~> 0.1.1', :supermarket
cookbook 'chef-client_syslog', '~> 0.1.1'
knife supermarket install chef-client_syslog
knife supermarket download chef-client_syslog
README
Dependencies
Quality 17%

chef-client_syslog cookbook

Send chef-client log to syslog.

reference from: https://gist.github.com/3616423

Requirements

chef-client cookbook
syslog-logger gem (will be installed)

Usage

add run_list recipe[chef-client_syslog::default]

Suggegsions

Use with cookbook[monit_bin]

Add monitoring setting for monit like below.

<pre><code> "monit": {
"process": {
"targets": {
"chef-client": {
"type": "pid",
"pidfile": "/var/run/chef-client.pid",
"start_program": "/usr/bin/chef-client -d -i 1800 -s 300 -l warn -P /var/run/chef-client.pid",
"stop_program": "/bin/bash -c '/bin/kill cat /var/run/chef-client.pid'",
"policies": [
"if 2 restarts within 3 cycles then timeout"
]
}
}
}
} </code></pre>

chef-client daemon is watched by monit and controled under monit.

  • monit start/stop chef-client

Attributes

  • default['chef_client']['log']['syslog_facility'] = '::Syslog::LOG_DAEMON'

The syslog facility to log to

  • default['chef_client']['log']['syslog_progname'] = 'chef-client'

The program name reported to syslog

Recipes

  • default

Author

Author:: HiganWorks LLC (sawanoboriyu@higanworks.com)

Dependent cookbooks

chef-client >= 3.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.1 failed this metric

FC064: Ensure issues_url is set in metadata: chef-client_syslog/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-client_syslog/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-client_syslog/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef-client_syslog/metadata.rb:1
FC104: Use the :run action in ruby_block instead of :create: chef-client_syslog/recipes/default.rb:40
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number