cookbook 'mozilla_firefox', '= 1.0.0'
mozilla_firefox (14) Versions 1.0.0 Follow2
Installs Mozilla Firefox browser
cookbook 'mozilla_firefox', '= 1.0.0', :supermarket
knife supermarket install mozilla_firefox
knife supermarket download mozilla_firefox
Mozilla Firefox Cookbook
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']- Installlatest,latest-esr,latest-beta, or specific version e.g.42.0,38.4.0esr, or43.0b4. Mac OS X and Windows only (Linux only uses the package manager). Default islatest. -
node['mozilla_firefox']['lang']- Language to install. Windows and Mac OS X only. Default isen-US. -
node['mozilla_firefox']['32bit_only']- Install 32-bit browser on 64-bit machines. Windows only. Default isfalse.
Getting Help
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Contributing
Please refer to CONTRIBUTING.
License
MIT - see the accompanying LICENSE
file for details.
CHANGELOG
1.0.0
- Initial release
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric