homebrew_package
homebrew_package
Use the homebrew_package resource to manage packages for the Mac OS X platform.
Note
In many cases, it is better to use the package resource instead of this one. This is because when the package resource is used in a recipe, the chef-client will use details that are collected by Ohai at the start of the chef-client run to determine the correct package application. Using the package resource allows a recipe to be authored in a way that allows it to be used across many platforms.
Syntax
A homebrew_package resource block manages a package on a node, typically by installing it. The simplest use of the homebrew_package resource is:
homebrew_package 'package_name'登录查看完整内容