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

codenamephp_chrome (2) Versions 1.0.0

Cookbook to install the Google Chrome browser

Berkshelf
Policyfile
Knife
cookbook 'codenamephp_chrome', '= 1.0.0'
cookbook 'codenamephp_chrome', '= 1.0.0', :supermarket
knife supermarket install codenamephp_chrome
knife supermarket download codenamephp_chrome
README
Dependencies
Quality 50%

Chef Cookbook

CI

Usage

Just use the resources in a (wrapper) cookbook:

codenamephp_chrome_repository 'Add chrome repository'
codenamephp_chrome_package 'Install Google Chrome'

Resources

Repository

Adds the repository to apt so google chrome can be installed as package.

Actions

  • add: Adds the repository
  • remove: Removes the repository (not the package) #### Properties
  • repo_name: The name of the repository (file) that will be created, defaults to google-chrome
  • uri: The uri to the repository, defaults to 'http://dl.google.com/linux/chrome/deb/'
  • arch: The architectures supported by the repository, defaults to 'amd64'
  • distribution: The distribution of the repository, defaults to 'stable'
  • components: Teh components supported by the repository, defaults to ['main']
  • key: The key the repository is signed with, defaults to 'https://dl.google.com/linux/linux_signing_key.pub' #### Examples ```ruby # Minimal properties codenamephp_chrome_repository 'Add chrome repo'

with custom properties

codenamephp_chrome_repository 'Add chrome repo' do repo_name 'some repo' uri 'https://localhost/chrome' arch 'some arch' distribution 'some dist' components %w(some components) key 'https://localhost/some/key' end

remove

codenamephp_chrome_repository 'Remove Google Chrome repository' do action :remove end

remove with custom name

codenamephp_chrome_repository 'Remove Google Chrome repository' do action :remove repo_name 'some repo' end ```

Package

Adds the repository to apt so google chrome can be installed as package.

Actions

  • isntall: Adds the package
  • remove: Removes the package #### Properties
  • package_name: The name of the package, defaults to 'google-chrome-stable' #### Examples ```ruby # Minimal properties codenamephp_chrome_package 'Install Google Chrome'

with custom properties

codenamephp_chrome_package 'Install Google Chrome' do package_name 'some package' end

remove

codenamephp_chrome_package 'Remove Google Chrome' do action :remove end

remove with custom name

codenamephp_chrome_package 'Remove Google Chrome' do package_name 'some package' action :remove end ```

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

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.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
            

1.0.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