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

    rnelson0

    10/24/2024, 8:10 PM
    novel
  • b

    bastelfreak

    10/24/2024, 8:10 PM
    at the end he's just like 'dont use windows lol'
    mandalorian 1
    ๐Ÿ˜‚ 2
  • n

    natemccurdy

    10/24/2024, 8:12 PM
    hi ๐Ÿ‘‹
    ๐Ÿคฃ 4
  • b

    bastelfreak

    10/24/2024, 8:14 PM
    o/
  • n

    natemccurdy

    10/24/2024, 8:16 PM
    Depending on the actual impact of pluginsync'ing providers, there are different solutions. None of the solutions are to disable pluginsync since that's not really a solution... pluginsync is a good thing, though it has some sharp edges. If the problem is longer than expected initial provisioning times, pre-loading the plugins as part of the puppet agent installation is a good strategy. That's what Puppet Enterprise does. The PE agent installer script just fetches an archive of the plugindir contents and unpacks it before doing the first Puppet run. Or just build an image that has some of the plugins pre-downloaded. If the problem is excess load on the Puppetserver affecting regular Puppet runs and bringing down the whole system, I've had great success with putting an nginx reverse caching proxy in front of the Puppetservers to cache all the file serving requests. That works because Puppetserver is terrible at serving files, but nginx is amazing at it. If the problem is neither of those things, and it's just annoying to look at, then don't bother trying to fix it because It's not worth the effort.
  • r

    rismoney

    10/24/2024, 8:32 PM
    interesting info. will do some research on that. was more of an investigative/optimization thought. on 15s puppetagent time, nearly 1/3 is spent on pluginsync. the nodes manages ~200-500 resources. removing some non used stuff definitely helped, but maybe i just maxed out the optimization.
  • b

    bastelfreak

    10/24/2024, 8:33 PM
    I don't think that's bad
  • r

    rismoney

    10/24/2024, 8:33 PM
    i am using single beefy docker container, on 10g networks, with nfs.
  • b

    bastelfreak

    10/24/2024, 8:34 PM
    just manage more stuff with windows on the node, so the agent runs longer
  • r

    rismoney

    10/24/2024, 8:34 PM
    lol
  • b

    bastelfreak

    10/24/2024, 8:34 PM
    makes the relative time spend for pluginsync shorter!
    ๐Ÿ˜ถ 1
  • b

    bastelfreak

    10/24/2024, 8:34 PM
    so on larger environments, my customers have 1500-6000 managed resources per node and a puppet run takes like 75-900 seconds
    same2 1
  • b

    bastelfreak

    10/24/2024, 8:35 PM
    spending 5s to check if all plugins are up2date, isn't really a problem
  • n

    natemccurdy

    10/24/2024, 8:46 PM
    Ah yeah, 5s for plugins and prefetching is minor. Not a problem that I would bother trying to solve. Similarly to Bastelfreak, pluginsync was a problem worth solving when I had to account for 10's of thousands of nodes with 60s+ runs that started ballooning to multiple minutes per run.
  • b

    bastelfreak

    10/24/2024, 8:47 PM
    yeah. I would really love to see the nginx, that's already part of PE, caching all file resources and pluginsyncs ๐Ÿ˜ž
  • b

    bastelfreak

    10/24/2024, 8:47 PM
    there's even a ticket for it, in the now-ignored jira
  • n

    natemccurdy

    10/24/2024, 8:48 PM
    Oh, did PE implement file caching?
  • b

    bastelfreak

    10/24/2024, 8:48 PM
    lol
  • b

    bastelfreak

    10/24/2024, 8:48 PM
    no
  • b

    bastelfreak

    10/24/2024, 8:48 PM
    all cool tickets get ignored
  • n

    natemccurdy

    10/24/2024, 8:48 PM
    ah, misread.... yeah, there's a ticket, that's it ๐Ÿ™‚
  • j

    Justin Wyker

    10/25/2024, 5:40 PM
    I'm trying to modify some settings of puppet-lint. I wanted to permanently exclude one of the checks that is being run, is there anyways to do this via a config setting? (I'm running it from a Windows machine, if that makes any difference).
  • v

    vchepkov

    10/25/2024, 5:47 PM
    Copy code
    $ cat ~/.puppet-lint.rc 
    --no-140chars-check
    --relative
    --no-documentation-check
    --no-manifest_whitespace_opening_brace_after-check
    --no-parameter_documentation-check
  • j

    Justin Wyker

    10/25/2024, 5:51 PM
    I'm on windows, so I'm not sure if the puppet-lint.rc file is stored in a different directory. I don't see it anywhere in my home directory.
  • v

    vchepkov

    10/25/2024, 5:57 PM
    well, try to create it and see if it works
    ๐Ÿ™Œ 1
  • r

    ramindk

    10/25/2024, 5:57 PM
    won't exist on it's own. You'd need to create it. IIRC the puppet-list binary looks for a .puppet-lint.rc locally and then the dirs you've pointed it at.
    ๐Ÿ™Œ 1
  • j

    Justin Wyker

    10/25/2024, 7:01 PM
    Awesome. That worked. Thanks guys ๐Ÿ™‚
    youre welcome 1
  • h

    hashim vayalar

    10/28/2024, 11:02 AM
    I need a help, I have a filebeat module. Now we are removing filebeat from all the servers. Using the new module version in puppet file I am able to remove,stop filebeat and related files, but still show the filebeat process
    b
    • 2
    • 7
  • j

    jby

    10/28/2024, 2:04 PM
    Anyone running a puppet server in GCP, and have documentation on how to set it up properly?
  • y

    Yury Bushmelev

    10/29/2024, 4:39 AM
    I guess the answer is โ€œnoโ€, but still.. Letโ€™s say I have a custom Pattern[/^(foo|bar)$/] type. Now I want to make another type, which can handle multiple comma-separated entries of
    foo
    or
    bar
    . Is there any chance that itโ€™s possible to include/merge multiple Pattern types somehow maybe?
    • 1
    • 2
1...419420421...428Latest