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

RSS

trac4r (2) Versions 1.0.5

Installs/Configures trac4r gem and library to enable servers to update trac system

Berkshelf/Librarian
Policyfile
Knife
cookbook 'trac4r', '~> 1.0.5'
cookbook 'trac4r', '~> 1.0.5', :supermarket
knife cookbook site install trac4r
knife cookbook site download trac4r
README
Dependencies
Quality

Description

Oftentimes it is helpful for your servers to create and post their own documentation. In Operations, it is important that we focus on publishing information in a timely, organized, and appropriate fashion. Of necessity, a good Operations team has multiple tools. Unfortunately, the multiplicity of tools can result in information fragmentation and difficulty in providing a single location for Developers and collegues to go for answers to common questions. Additionally, it is often sub-optimal to give access to a particular toolset simply to provide log or status information.

Tasks such as updating tickets when build artifacts have been generated, self-generated wikipages, or even posting drive fragmentation status are all basic tasks that servers should be able to do themselves. This is a basic attempt at enabling machines to interact with a Trac system for the specific purposes listed above... As well as others.

Requirements

Trac: http://trac.edgewall.org/ Duh. And, yeah, I know it's 2012 and I'm still using Trac. Still havent found anything more simple and straightforward for a small organization that uses Subversion for their version control system. Install the Trac xml-rpc (http://trac-hacks.org/wiki/XmlRpcPlugin) plugin and then ensure your trac user has permissions appropriate to the type of Trac-interaction the servers will be performing... My "notuser" account has TICKET_ADMIN, WIKI_ADMIN, and XML_RPC.

Attributes

The bulk of the attributes point at an encrypted databag for Trac authentication information.

Usage

See:

ticketattach_example.rb
wikicreate_example.rb

I am aware that this cookbook wields the Trac xml-rpc "delete" method like it's going out of style. However, using straightup 'update' throws errors that I'm not currently willing to dig into. Running this cookbook on some of my Linux servers has resulted in Cert errors; again, I do not currently have the time to dig into those. It runs successfully on some of my machines.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.5 failed this metric

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

Contributing File Metric
            

1.0.5 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
            

1.0.5 failed this metric

FC064: Ensure issues_url is set in metadata: trac4r/metadata.rb:1
FC065: Ensure source_url is set in metadata: trac4r/metadata.rb:1
FC066: Ensure chef_version is set in metadata: trac4r/metadata.rb:1
FC069: Ensure standardized license defined in metadata: trac4r/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.5 passed this metric

No Binaries Metric
            

1.0.5 passed this metric

Publish Metric
            

1.0.5 passed this metric

Supported Platforms Metric
            

1.0.5 passed this metric

Testing File Metric
            

1.0.5 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
            

1.0.5 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