summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/homebrew_user.rb
Commit message (Collapse)AuthorAgeFilesLines
* Convert require to require_relativeLamont Granquist2019-05-081-1/+1
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add new find_homebrew_username method in the Homebrew mixinTim Smith2018-03-201-3/+13
| | | | | | We need the username about a billion times in both providers. The current helper grabs the UID. Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup a bit of YARD and add a few thingsTim Smith2018-01-221-0/+1
| | | | | | Mostly remove some warnings when running yard on the CLI Signed-off-by: Tim Smith <tsmith@chef.io>
* Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-021-1/+1
|
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-2/+2
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-3/+3
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Fixing bug where tried to use the homebrew provider on OSX and didn't ↵tball/homebrew_fixtyler-ball2014-10-131-1/+1
| | | | correctly check for lack of homebrew-specific attribute on the resource
* Moving documentation to a more logical place. Also no longer dis-allowing ↵tyler-ball2014-10-071-7/+5
| | | | users from running brew as root.
* Missed file on last committyler-ball2014-10-071-3/+2
|
* homebrew_owner now tries to run homebrew as the user who owns the `brew` ↵tyler-ball2014-10-071-0/+71
executable, or an optional homebrew_package resource attribute