cookbook 'codenamephp_chrome', '= 1.0.0'
The codenamephp_chrome cookbook has been deprecated
Author provided reason for deprecation:
The codenamephp_chrome cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_chrome cookbook is no longer recommended.
codenamephp_chrome (2) Versions 1.0.0 Follow0
Cookbook to install the Google Chrome browser
cookbook 'codenamephp_chrome', '= 1.0.0', :supermarket
knife supermarket install codenamephp_chrome
knife supermarket download codenamephp_chrome
Chef Cookbook
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
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
1.0.0 failed this 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
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
1.0.0 passed this 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
1.0.0 failed this 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