Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-1272

Refactor our use of homebrew to not run as root

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet-agent 6.0.5
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      An OS X 10.12 build of puppet-agent no longer relies on our snapshot tarball of homebrew for Sierra and frozen puppetlabs/homebrew-core repo and runs with the latest versions of both.

      Show
      An OS X 10.12 build of puppet-agent no longer relies on our snapshot tarball of homebrew for Sierra and frozen puppetlabs/homebrew-core repo and runs with the latest versions of both.
    • Team:
      Night's Watch
    • Story Points:
      5
    • Sprint:
      PR - 2018-09-26, PR - 2018-10-10, 2018-10-24, 2018-11-07
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Background:

      As of November 2016, the upstream Homebrew tools no longer support running brew as root. We have ugly hacks to work around this by downloading a snapshot of Homebrew from shortly before that change and more recently had to freeze a copy of the homebrew-core repo to prevent parse errors with our old Homebrew and newer homebrew-core formulas (see PA-1265) for when we added the homebrew-core hack).

      These workarounds are piling up, and now we're stuck with Homebrew receipes as of July 1, 2017, and will not get further updates or fixes.

      To fix this the right way, we will need to figure out a way to run Homebrew as a non-root user during our puppet-agent build process, so we can get back to using the latest upstream Homebrew and homebrew-core repo.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gheorghe.popescu Gheorghe Popescu
              Reporter:
              scott.garman Scott Garman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support