

The recipe in the cookbook leaves out one of them.

Report bugs and discuss potential features in Github issues. The restaurants Cheesy Mac and Cheese is made with four cheeses.Ask specific questions on Stack Overflow.This cookbook includes custom ChefSpec matchers you can use to test yourĮxample Matcher Usage expect(chef_run).to master_preferences_chrome('name').with( the template, when you write your own, the is significant.To use the default template preferences, set cookbook to chrome, for example: chrome 'set_user_preferences' do

The Chrome cookbook comes with a master_ template as an example. Import_bookmarks_from_file: 'c:\path\to\bookmarks.html' The following example would look for a template named master_ in your cookbook: chrome 'custom_preferences' do
Chef recipe example for mac install#
Install 32-bit browser on 64-bit machines. Install stable, beta or unstable version. Tip: use allow_any_instance_of to stub chrome_version method when testing with rspec: allow_any_instance_of(Chef::Recipe).to receive(:chrome_version).and_return('50.0.0.0') Attributes Include the default recipe on a node's runlist to ensure that Chrome is installed.Ī library method chrome_version is provided to retrieve the Chrome version installed: v = chrome_version This cookbook installs Google Chrome browser ( ) at compile time, providesĬhrome_version library method to retrieve Chrome version installed, and provides master_preferences resource
