optionsoffline.blogg.se

Chef recipe example for mac
Chef recipe example for mac






chef recipe example for mac

The recipe in the cookbook leaves out one of them.

chef recipe example for mac

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

chef recipe example for mac

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

  • parameters - Additional parameters, see Examples.
  • template - Default master_, source template file.
  • Template in the cookbook where the definition is used. If this is not defined, Chef will use the named Manage a template resource that configures master_preferences. See attributes/default.rb for complete list

    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








    Chef recipe example for mac