cookbook 'opera', '= 0.1.0'
opera (3) Versions 0.1.0 Follow0
Installs Opera browser
cookbook 'opera', '= 0.1.0', :supermarket
knife supermarket install opera
knife supermarket download opera
Opera Cookbook
This cookbook installs Chromium-based Opera browser (http://www.opera.com/) at compile time and provides
opera_version
library method to retrieve Opera browser version installed.
Requirements
Chef 11.14 or higher.
Platforms
- Ubuntu
Cookbooks
These cookbooks are referenced with suggests, so be sure to depend on the cookbooks that apply.
- apt
Usage
Include the default recipe on a node's runlist to ensure that opera is installed.
A library method opera_version
is provided to retrieve the opera version installed:
v = opera_version # => '29.0.1795.60'
Tip: use allow_any_instance_of
to stub opera_version method when testing with rspec:
allow_any_instance_of(Chef::Recipe).to receive(:opera_version).and_return('29.0.1795.60')
Attributes
-
node['opera']['browser']['version']
- Install lateststable
, latestbeta
or specific version (e.g. '29.0.1795.60') of Opera browser. Default isstable
.
See attributes/default.rb for complete list
of attributes.
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Changelog
0.1.0
- Initial release
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric