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

mozilla_firefox (14) Versions 1.0.1

Installs Mozilla Firefox browser

Policyfile
Berkshelf
Knife
cookbook 'mozilla_firefox', '= 1.0.1', :supermarket
cookbook 'mozilla_firefox', '= 1.0.1'
knife supermarket install mozilla_firefox
knife supermarket download mozilla_firefox
README
Dependencies
Changelog
Quality 100%

Mozilla Firefox Cookbook

Cookbook Version
Build Status

This cookbook installs Firefox browser. Mac OS X and Windows downloads directly from
Mozilla where you can specify a version (e.g. latest, latest-esr, latest-beta, 42.0, 38.4.0esr, or 43.0b4)
with latest being the default, and a language with en-US being the default.
Linux only uses the package manager at this time.

A firefox_version method is also available to retrieve the version installed.

Requirements

Chef 11+

Platforms

  • CentOS/RHEL
  • Debian (Mozilla Iceweasel)
  • Mac OS X
  • Ubuntu
  • Windows

Cookbooks

  • windows
  • dmg

Usage

Include the default recipe on a node's runlist to ensure that Firefox is installed.

The following example retrieves the version installed by using firefox_version method:

v = firefox_version

Tip: use allow_any_instance_of to stub firefox_version method when testing with rspec:

allow_any_instance_of(Chef::Recipe).to receive(:firefox_version).and_return('42.0')

Attributes

  • node['mozilla_firefox']['version'] - Install latest, latest-esr, latest-beta, or specific version e.g. 42.0, 38.4.0esr, or 43.0b4. Mac OS X and Windows only (Linux only uses the package manager). Default is latest.
  • node['mozilla_firefox']['lang'] - Language to install. Windows and Mac OS X only. Default is en-US.
  • node['mozilla_firefox']['32bit_only'] - Install 32-bit browser on 64-bit machines. Windows only. Default is false.

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE
file for details.

CHANGELOG

1.0.1

  • Fix #1 Chef 11 throws EOFError

1.0.0

  • Initial release

Foodcritic Metric
            

1.0.1 passed this metric