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

unjava (1) Versions 0.1.0

Installs/Configures unjava

Berkshelf/Librarian
Policyfile
Knife
cookbook 'unjava', '~> 0.1.0'
cookbook 'unjava', '~> 0.1.0', :supermarket
knife cookbook site install unjava
knife cookbook site download unjava
README
Dependencies
Quality 22%

unjava Cookbook

The default recipe of this cookbook will monkey patch your run list to prevent the installation of openjdk 6 due to a recipe earlier in the run list including recipe java::default. The community java cookbook is awesome! The assumption that you want the default recipe included in your run list is not!

Build Status

Requirements

  • Chef 12 or higher
  • Ruby 2.0 or higher
  • A supported platform / version:
    • CentOS/RHEL 5, 6, 7
    • Debian 6, 7
    • Ubuntu 12.04, 14.04
    • FreeBSD 9.3, 10.1

Attributes

  • node[:unjava][:package_action] - Used by the default recipe as the action to take to suppress installation of openjdk packages. Defaults to :nothing.
  • node[:unjava][:undo_action] - Used by the rejava recipe as the action to take to reverse suppression action taken in the default recipe. Defaults to :install.
  • node[:unjava][:resources] - List of resources that are removed from the run list in the default recipe. See attributes/default.rb for defaults.

Recipes

  • default - includes the unjava recipe.
  • unjava - Prevents the installation of openjdk packages. Removes other resources from the run list.
  • rejava - Changes the action of the packages suppressed in unjava to node[:unjava][:undo_action] and then includes recipe java::default, causing java to get installed. Because perhaps you just want java installed in a different order than whatever another recipe in your run list wants.

Development

  1. Fork, then clone your repository from GitHub.

  2. Create a git branch

    $ git checkout -b my_bug_fix
    
  3. Install dependencies:

    $ bundle install
    
  4. Make your changes/patches/fixes, committing appropiately

  5. Write tests

  6. Run the tests:

    • bundle exec foodcritic -f any .
    • bundle exec rspec
    • bundle exec rubocop
    • bundle exec kitchen test

In detail: - Foodcritic will catch any Chef-specific style errors - RSpec will run the unit tests - Rubocop will check for Ruby-specific style errors - Test Kitchen will run and converge the recipes

License & Authors

Copyright:: 2015, Spanlink Communications, Inc dba ConvergeOne Collaboration

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.

Dependent cookbooks

java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.0 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.0 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.0 failed this metric

FC064: Ensure issues_url is set in metadata: unjava/metadata.rb:1
FC065: Ensure source_url is set in metadata: unjava/metadata.rb:1
FC066: Ensure chef_version is set in metadata: unjava/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: unjava/metadata.rb:1
FC069: Ensure standardized license defined in metadata: unjava/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.0 failed this metric

unjava does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 failed this metric

unjava should declare what platform(s) it supports.

Testing File Metric
            

0.1.0 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.0 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