Skip to content

Instantly share code, notes, and snippets.

@brylor
Created March 9, 2018 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brylor/9609545ad1857f252c85c7e0ab43d6a9 to your computer and use it in GitHub Desktop.
Save brylor/9609545ad1857f252c85c7e0ab43d6a9 to your computer and use it in GitHub Desktop.
5.0.1 homebrew LWRP
$ knife cookbook site install homebrew 5.0.1 10 ↵
Installing homebrew to /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks
Checking out the master branch.
Pristine copy branch (chef-vendor-homebrew) exists, switching to it.
Downloading homebrew from Supermarket at version 5.0.1 to /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks/homebrew.tar.gz
Cookbook saved: /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks/homebrew.tar.gz
Removing pre-existing version.
Uncompressing homebrew version 5.0.1.
Removing downloaded tarball
6 files updated, committing changes
Creating tag cookbook-site-imported-homebrew-5.0.1
Checking out the master branch.
Merge made by the 'recursive' strategy.
homebrew/CHANGELOG.md | 5 -----
homebrew/README.md | 4 ++--
homebrew/libraries/helpers.rb | 9 +++++----
homebrew/metadata.json | 2 +-
homebrew/resources/cask.rb | 2 +-
homebrew/resources/tap.rb | 2 +-
6 files changed, 10 insertions(+), 14 deletions(-)
Cookbook homebrew version 5.0.1 successfully installed
(pax8venv) ╭─btaylor@Bryans-MacBook-Pro ~/Development/osx-chef-solo/chef-repo
╰─$ chef-solo -j workstation.rb -c solo.rb
Starting Chef Client, version 13.8.5
resolving cookbooks for run list: ["workstation"]
Synchronizing Cookbooks:
- homebrew (5.0.1)
- workstation (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 6 resources
Recipe: workstation::default
* homebrew_tap[caskroom/cask] action tap (up to date)
* homebrew_cask[firefox] action install
* homebrew_tap[caskroom/cask] action tap (up to date)
(up to date)
* homebrew_package[wget] action install (up to date)
* homebrew_package[postgresql] action install
- install version 9.5 of package postgresql
* homebrew_package[maven] action install (up to date)
* homebrew_package[openssl] action install (up to date)
Running handlers:
Running handlers complete
Chef Client finished, 1/7 resources updated in 10 seconds
[2018-03-09T15:10:43-07:00] WARN: *****************************************
[2018-03-09T15:10:43-07:00] WARN: Did not find config file: /solo.rb, using command line options.
[2018-03-09T15:10:43-07:00] WARN: *****************************************
[2018-03-09T15:10:43-07:00] FATAL: Cannot load configuration from workstation.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment