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

phantomjs (14) Versions 1.0.3

Installs/Configures phantomjs

Policyfile
Berkshelf
Knife
cookbook 'phantomjs', '~> 1.0.3', :supermarket
cookbook 'phantomjs', '~> 1.0.3'
knife supermarket install phantomjs
knife supermarket download phantomjs
README
Dependencies
Quality 17%

phantomjs Cookbook

Build Status

Installs the phantomjs cookbook and necessary packages. This repository also features a full test suite!

As of version 1.0.0, this cookbook is Chef 11!+

Installation

Add the phamtomjs cookbook to your Berksfile:

cookbook 'phantomjs'

or install directly with knife:

$ knife cookbook site install phantomjs

Usage

Add the cookbook to your run_list in a node or role:

"run_list": [
  "recipe[phantomjs::default]"
]

or include it in a recipe:

# other_cookbook/metadata.rb
# ...
depends 'phantomjs'
# other_cookbook/recipes/default.rb
# ...
include_recipe 'phantomjs::default'

Attributes

All attributes are namespaced under node['phantomjs'].

<table>
<thead>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Example</th>
<th>Default</th>
</tr>
</thead>

<tbody>
<tr>
<td>version</td>
<td>The version to install</td>
<td><tt>1.0.0</tt></td>
<td><tt>1.9.2</tt></td>
</tr>
<tr>
<td>packages</td>
<td>The supporting packages</td>
<td><tt>['apache2']</td>
<td>(varies)</td>
</tr>
<tr>
<td>checksum</td>
<td>The checksum of the download</td>
<td><tt>abc123</tt></td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td>src_dir</td>
<td>Location for the download</td>
<td><tt>/src</tt></td>
<td><tt>/usr/local/src</tt></td>
</tr>
<tr>
<td>base_url</td>
<td>URL for download</td>
<td><tt>http://example.com/</tt></td>
<td><tt>https://phantomjs.googlecode.com/files</tt></td>
</tr>
<tr>
<td>basename</td>
<td>Name of the package</td>
<td><tt>phantomjs-1.0.0-x86</tt></td>
<td>(varies)</td>
</tr>
</tbody>
</table>

Development

  1. Fork the project
  2. Create a feature branch (i.e. add_feature_x)
  3. Make your changes
  4. Write or change specs as necessary
  5. Run the tests:

    $ bundle exec strainer test
    
  6. Submit a pull request on github

License and Authors

Copyright 2012-2013, Seth Vargo
Copyright 2012-2013, CustomInk, LLC

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 at

    http://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.

Collaborator Number Metric
            

1.0.3 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.3 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.3 failed this metric

FC064: Ensure issues_url is set in metadata: phantomjs/metadata.rb:1
FC065: Ensure source_url is set in metadata: phantomjs/metadata.rb:1
FC066: Ensure chef_version is set in metadata: phantomjs/metadata.rb:1
FC069: Ensure standardized license defined in metadata: phantomjs/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: phantomjs/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: phantomjs/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: phantomjs/recipes/source.rb:22
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.3 passed this metric

Testing File Metric
            

1.0.3 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.3 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