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

firefox_package (3) Versions 0.4.0

Installs/Configures firefox_package

Policyfile
Berkshelf
Knife
cookbook 'firefox_package', '~> 0.4.0', :supermarket
cookbook 'firefox_package', '~> 0.4.0'
knife supermarket install firefox_package
knife supermarket download firefox_package
README
Dependencies
Changelog
Quality 17%

firefox_package

Build Status
Cookbook Version
License

This cookbook provides the firefox_package provider which can be used
to install any version of firefox, including named versions such as 'latest-esr'
for multiple platforms.

Supported Platforms

  • Linux
  • Windows

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['firefox_package']['firefox'][version][language]</tt></td>
<td>String</td>
<td>Linux Only: Path to Firefox installation, where version is the requested version and language is the requested language. This is primarly used for uninstall purposes.</td>
<td><tt>"/opt/firefox/#{version}_en-US"</tt></td>
</tr>
</table>

Resources

firefox_package

Install the latest version of Firefox.

firefox_package 'latest'

Configure a 24 hour splay to reduce egress HTTPS requests to Mozilla servers.
ruby
firefox_package 'latest-esr' do
splay 84600
end

  • version - Version of Firefox to install. Named versions, such as latest, latest-esr, latest-prior-esr, latest-beta are all valid. (name_attribute)
  • checksum - SHA256 Checksum of the file. Not required.
  • uri - HTTPS uri to obtain the installer/archive. Defaults to: https://download-installer.cdn.mozilla.net/pub/firefox/releases
  • language - Language desired. Defaults to: en-US
  • platform - Platform you wish to download and install. Defaults to the OS from which Chef is running.
  • path - Path to install Firefox. Linux Only, Defaults to: /opt/firefox/#{version}_#{language}
  • splay - Time in minutes to wait before next contact to Mozilla servers. Not required, defaults to 0 (zero) seconds.
  • link - Create the specfied symlink (Linux Only). This can be an array to create multiple symlinks to the same instance, or a string for a single symlink.

License and Authors

Author:: Rapid7, LLC (<ryan_hass@rapid7.com>)

Dependent cookbooks

poise ~> 2.3.2
windows >= 0.0.0
build-essential >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.2.0

  • Fixed Windows support to allow for multiple installations of Firefox.
  • Added Chef Audit Mode Support
  • Added Travis CI support for Pull Requests and development work.

0.1.0

Initial release of firefox_package

Collaborator Number Metric
            

0.4.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.4.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.4.0 failed this metric

FC122: Use the build_essential resource instead of the recipe: firefox_package/libraries/firefox_package.rb:183
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.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.4.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