Skip to content

Package caching #1

Open
Open

Description

@cohoe

From CFCC/TurboPuppet#35

Sonatype Nexus (Yum and Choco)

Local package cache

Activity

  1. added
    Major FeatureUsually a new stack or significant new functionality
    on May 31, 2021
  2. idontusenumbers commented on May 31, 2021

    @idontusenumbers

    The frustrating part about nexus is you gotta set it up on every client =/ Is there a work around? I suppose puppet makes that bit easier.

  3. cohoe commented on Jun 1, 2021

    @cohoe
    MemberAuthor

    I don't know if we can combine it with the lancache technology. But yeah, I suspect it's gonna require local config. Puppet "should" make that do-able for all of our managed hosts.

  4. cohoe commented on May 13, 2022

    @cohoe
    MemberAuthor

    This doesn't actually get us anything since the installers for everything are scattered across the internet. Only the metadata package can be cached and that's so small it's meaningless.

  5. idontusenumbers commented on May 13, 2022

    @idontusenumbers

    Are you sure? nexus works for me for java packages (i think?); I thought it proxied everything; does it not proxy the data files?

  6. cohoe commented on May 13, 2022

    @cohoe
    MemberAuthor

    Yeah for other package types (like Maven or even RPM/DEBs) the entire contents of the package are hosted. Chocolatey (NuGet) works by wrapping up install scripts but pointing to 3rd party hosting services for the actual Windows MSIs or EXEs. For example, GoogleChrome has you grab the installer from dl.google.com but feeds it into an install script hosted in the Chocolatey package.

  7. cohoe commented on May 15, 2022

    @cohoe
    MemberAuthor

    Ok maybe this isn't as dead as I thought. While I cannot cache the source mirrors, I can centralize the download location. And that location can be a network share. https://docs.chocolatey.org/en-us/guides/usage/change-cache A quick test shows this actually works!

    A hidden (pun intended) bonus: Choco is intended to be run as administrator which is reasonable. File shares can be mounted only within the administrator context letting us secretly mount drive letters without exposing them to campers to mess around in.

  8. reopened this on May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Major FeatureUsually a new stack or significant new functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions