summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-31 10:52:15 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-02 12:27:39 -0700
commit28e0bbb92defbcc1fd5bacfd163b0e4fc27f90c3 (patch)
treedcadca72f97b945ebd3b29f635457feeaaa89eaf
parent9e61ebc8ef68215b0c43e256d2c83650301789ad (diff)
downloadchef-28e0bbb92defbcc1fd5bacfd163b0e4fc27f90c3.tar.gz
Add example for upgrading on macOS
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/build_essential.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb
index cb54e45dd6..fdf4a48881 100644
--- a/lib/chef/resource/build_essential.rb
+++ b/lib/chef/resource/build_essential.rb
@@ -37,6 +37,13 @@ class Chef
compile_time true
end
```
+
+ Upgrade compilation packages on macOS systems
+ ```ruby
+ build_essential 'Install compilation tools' do
+ action :upgrade
+ end
+ ```
DOC
# this allows us to use build_essential without setting a name