summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-31 10:52:15 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-31 10:52:15 -0700
commitfbd75349092772dae1e05d2a5051f7ba8cbba691 (patch)
tree8bb6002255e6f1aedfc5846b14e0b7774a87b71a
parentfb0a385cbdf2d76e75aceca270bc0b3f2c1043ec (diff)
downloadchef-fbd75349092772dae1e05d2a5051f7ba8cbba691.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 e9e8a4f0af..68268f8142 100644
--- a/lib/chef/resource/build_essential.rb
+++ b/lib/chef/resource/build_essential.rb
@@ -38,6 +38,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