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

Installs Mozilla Firefox browser

Policyfile
Berkshelf
Knife
cookbook 'mozilla_firefox', '= 1.1.0', :supermarket
cookbook 'mozilla_firefox', '= 1.1.0'
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 download directly from
Mozilla where you can specify version (e.g., latest, latest-esr, latest-beta, 42.0, 38.4.0esr, or 43.0b4)
and language with latest-esrand en-US being the defaults.
Linux platforms only use 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 default recipe in a cookbook or a run list to install Firefox browser.

The following example retrieves 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 platforms use the package manager). Default is latest-esr.
  • 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.1.0 2016-03-21

  • Fix #2 Change default version from latest to latest-esr

1.0.1

  • Fix #1 Chef 11 throws EOFError

1.0.0

  • Initial release

Foodcritic Metric
            

1.1.0 passed this metric