cookbook 'codenamephp_edge', '~> 1.1.0'
codenamephp_edge (2) Versions 1.1.0 Follow0
Cookbook to install the Microsoft Edge browser
cookbook 'codenamephp_edge', '~> 1.1.0', :supermarket
knife supermarket install codenamephp_edge
knife supermarket download codenamephp_edge
Chef Cookbook
Cookbook to install the Microsoft Edge browser. Bear in mind that this is currently the dev/insider version: https://www.microsoftedgeinsider.com/en-us/download/
Requirements
Supported Platforms
- Debian Stretch
Usage
Add the cookbook to your Berksfile or Metadata:
cookbook 'codenamephp_edge'
Then use the resources to add the repository:
codenamephp_edge_apt_repository 'Add apt repository' codenamephp_edge_package 'Install edge'
Resources
apt_respository
This resource manages (adds/removes) the apt repository from which the package will be installed
Actions
-
:add
: Adds the apt repository to apt -
:remove
: Removes the repository from apt (does not remove any installed packages!)
Properties
-
uri
: The uri to the repository, default: 'https://packages.microsoft.com/repos/edge' -
repo_name
: The name of the repo (the name in the sources.list.d folder), default: 'microsoft-edge' -
components
: The components to add to the repository, default: %w(main) -
distribution
: The distribution to add to the repository, default: 'stable' -
key
: The URL from wehre the key will be downloaded, default: 'https://packages.microsoft.com/keys/microsoft.asc'
Examples
# Minmal parameters codenamephp_edge_apt_repository 'Add apt repository' # Remove the repository codenamephp_edge_apt_repository 'Remove apt repository' do action :remove end
package
This resource manages (installs/removes) the apt package
Actions
-
:install
: Installs the pacakge from the apt repository -
:remove
: Removes package
Properties
-
package_name
: The name that is used for apt install, default 'microsoft-edge-dev'
Examples
# Minmal parameters codenamephp_edge_package 'Install edge' # Remove the package codenamephp_edge_package 'Remove edge' action :remove end # Custom package name codenamephp_edge_package 'Install edge' do package_name 'microsoft-edge' end
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
1.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
1.1.0 failed this metric
1.1.0 passed this metric
No Binaries Metric
1.1.0 passed this metric
1.1.0 passed this metric