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

    rismoney

    10/24/2024, 7:56 PM
    i think sync'd.. that takes several seconds on each node in a fleet of 1000 and is only needed on 1... that sort of thing.
  • r

    rismoney

    10/24/2024, 7:57 PM
    why- can you disable pluginsync on a per module basis ?
  • b

    bastelfreak

    10/24/2024, 7:58 PM
    no
  • b

    bastelfreak

    10/24/2024, 7:58 PM
    but you can confine facts to certain things
  • b

    bastelfreak

    10/24/2024, 7:58 PM
    and are several seconds that bad?
  • r

    rismoney

    10/24/2024, 7:58 PM
    nope, thinking providers.
  • b

    bastelfreak

    10/24/2024, 7:59 PM
    they are just copied, not executed
  • b

    bastelfreak

    10/24/2024, 7:59 PM
    ah well, they might do some prefetching, yes.
  • b

    bastelfreak

    10/24/2024, 7:59 PM
    and you could split your nodes into multiple environments
  • r

    rismoney

    10/24/2024, 7:59 PM
    except if they are bulky like DSC stuff, then they become expensive to sha256 dozens of files x the number of providers, equals multiple seconds.
  • b

    bastelfreak

    10/24/2024, 8:00 PM
    you really should split windows and linux to different environments
  • v

    vchepkov

    10/24/2024, 8:00 PM
    PE provides a way to "pre-zip" them first, not sure if it's available in opensource
  • b

    bastelfreak

    10/24/2024, 8:00 PM
    @vchepkov that's only used for the initial puppet run
  • v

    vchepkov

    10/24/2024, 8:00 PM
    yep, but it's fast after
  • b

    bastelfreak

    10/24/2024, 8:01 PM
    it's identical to open source. it uses a normal pluginsync after downloading the plugins once as .tar.gz
  • b

    bastelfreak

    10/24/2024, 8:01 PM
    and that tar.gz is only created for the environment of the puppet agent on the puppetserver, which often isn't the same as your other agents
  • v

    vchepkov

    10/24/2024, 8:02 PM
    hmm, I know it's down for windowz
  • v

    vchepkov

    10/24/2024, 8:02 PM
    Copy code
    pe_repo::enable_windows_bulk_pluginsync:
  • b

    bastelfreak

    10/24/2024, 8:03 PM
    now if the module would be public we could check what it does!
  • b

    bastelfreak

    10/24/2024, 8:03 PM
    well, it's a hidden secret ¯\_(ツ)_/¯
  • v

    vchepkov

    10/24/2024, 8:04 PM
    I'll look 🙂
  • r

    rismoney

    10/24/2024, 8:04 PM
    definitely dont want to split win/linux. and this particular case it would be windows/windows... a good example is AD dsc. it would only be used on 1 host.
  • v

    vchepkov

    10/24/2024, 8:06 PM
    That creates a zip file that installer downloads during agent install
  • v

    vchepkov

    10/24/2024, 8:06 PM
    so files are already "there" once agent runs first time
  • v

    vchepkov

    10/24/2024, 8:07 PM
    no magic
  • b

    bastelfreak

    10/24/2024, 8:08 PM
    @natemccurdy finally post something! 😄
  • b

    bastelfreak

    10/24/2024, 8:09 PM
    "@natemccurdy is typing" since 10 minutes 😄
    🍻 1
  • v

    vchepkov

    10/24/2024, 8:09 PM
    dropped something on the keyboard 🙂
  • b

    bastelfreak

    10/24/2024, 8:09 PM
    cat attack
    😁 1
    n
    • 2
    • 2
  • r

    rnelson0

    10/24/2024, 8:10 PM
    nate working on a masterpiece
1...418419420...428Latest