https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • v

    VoxBot

    02/03/2025, 9:54 PM
    anarcat: r10k usually. depending on the setup, hiera and/or roles and/or profiles are part of the control-repo, every other module is an actual git repo
  • v

    VoxBot

    02/03/2025, 9:54 PM
    i'm considering monorepo with puppet-module, but then puppet-module-install relies on md5 sums (!?) and doesn't help when you're working on a fork
  • v

    VoxBot

    02/03/2025, 9:54 PM
    bastelfreak: isn't that stupidly slow?
  • v

    VoxBot

    02/03/2025, 9:55 PM
    which part of that do you think is slow
  • v

    VoxBot

    02/03/2025, 9:55 PM
    we considered g10k and an "empty" modules/ (populated by Puppetfile), but cloning everything is just really slow in our experience
  • v

    VoxBot

    02/03/2025, 9:55 PM
    our friends at tails use submodules and cloning the whole repo (with 69 submodules) takes a long time
  • v

    VoxBot

    02/03/2025, 9:55 PM
    i'm worried that g10k is going to have the same issue
  • v

    VoxBot

    02/03/2025, 9:56 PM
    also, if we switch to that, then i need to pin everything with checksums, and that's going to take forever to setup
  • v

    VoxBot

    02/03/2025, 9:56 PM
    with ssh pipelining and multiple r10k workers it's really fast. I clone complex setups with > 150 modules in <1min. and when r10k has it's local cache it's even faster
  • v

    VoxBot

    02/03/2025, 9:56 PM
    i see
  • v

    VoxBot

    02/03/2025, 9:56 PM
    so maybe that's the solution
  • v

    VoxBot

    02/03/2025, 9:56 PM
    but i still have to pin everything
  • l

    Lumiere

    02/03/2025, 9:57 PM
    r10k caches the git repo locally, so it should just be a pull to the cache
  • v

    VoxBot

    02/03/2025, 9:57 PM
    what's ssh pipelining?
  • v

    VoxBot

    02/03/2025, 9:57 PM
    there's a bit of tcp back and forth between your r10k and git server. so if you've a high latency it massively influences your performance
  • v

    VoxBot

    02/03/2025, 9:57 PM
    do you mean multiplexing?
  • v

    VoxBot

    02/03/2025, 9:57 PM
    yes
  • v

    VoxBot

    02/03/2025, 9:57 PM
    right
  • v

    VoxBot

    02/03/2025, 9:57 PM
    i think for many repos, our upstream is github, or the forge
  • v

    VoxBot

    02/03/2025, 9:57 PM
    which, who knows what that will be :p
  • v

    VoxBot

    02/03/2025, 9:58 PM
    ControlMaster auto
  • v

    VoxBot

    02/03/2025, 9:58 PM
    ControlPath ~/.ssh/ssh-%r@%h:%p
  • v

    VoxBot

    02/03/2025, 9:58 PM
    ControlPersist yes
  • l

    Lumiere

    02/03/2025, 9:58 PM
    nah ControlPath ~/.ssh/ssh-%C
  • v

    VoxBot

    02/03/2025, 9:58 PM
    don'tdeploy from the forge. it's slow and not reliable
  • v

    VoxBot

    02/03/2025, 9:59 PM
    deploy at least from github, or from a local mirror if you can
  • l

    Lumiere

    02/03/2025, 9:59 PM
    (%C makes a hash of %r@%h:%p so it doesn't make a named socket that's too long)
  • v

    VoxBot

    02/03/2025, 10:00 PM
    ah!
  • v

    VoxBot

    02/03/2025, 10:00 PM
    so I should update my decade old ~/.ss/config you say
  • l

    Lumiere

    02/03/2025, 10:01 PM
    https://man.openbsd.org/ssh_config.5#TOKENS
1...636637638639640Latest