Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 8ebebda

Browse files
committed
Run brew as the current boxen user, fixes #91
This also includes: - Change the default homebrew repo to homebrew/brew Signed-off-by: Salimane Adjao Moustapha <[email protected]>
1 parent 4de455d commit 8ebebda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/puppet/provider/homebrew_repo/homebrew.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def homedir_prefix
8484
end
8585

8686
def brew_command_opts
87-
default_command_opts.merge({
87+
build_command_opts.merge({
8888
:custom_environment => {
8989
"HOME" => "/#{homedir_prefix}/#{@resource[:user]}",
9090
"PATH" => "#{self.class.home}/bin:/usr/bin:/usr/sbin:/bin:/sbin",

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$tapsdir = $homebrew::config::tapsdir,
1313
$brewsdir = $homebrew::config::brewsdir,
1414
$min_revision = $homebrew::config::min_revision,
15-
$repo = 'Homebrew/homebrew',
15+
$repo = 'Homebrew/brew',
1616
$set_cflags = true,
1717
$set_ldflags = true,
1818
) inherits homebrew::config {

0 commit comments

Comments
 (0)