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

    David Sandilands

    03/17/2023, 2:49 PM
    Just some feedback from Charlie regarding the file function usage. "In general, reducing the number of file serving requests that hit JRubies is a good thing: https://tickets.puppetlabs.com/browse/PE-35439 When Code Manager is enabled, PE does this already for the
    modules/
    mount via static catalogs. Pulling content into the catalogs via
    file()
    is something you have. to. be. very. careful. with. Because that content is going to end up pushed out to places like PuppetDB and also increases the overhead of parsing and handling the JSON blob. It may work great for someone that has a handfull of
    .pem
    files and then someone with multi-megabyte files tries it and blows their entire leg off."
  • d

    David Sandilands

    03/17/2023, 2:50 PM
    "another thing about
    file()
    is that it will always ship the content --- regardless of whether the agent actually needs to update the file. So, there's a persistent overhead there."
    đź’ˇ 1
  • d

    David Sandilands

    03/17/2023, 3:09 PM
    anyhoo I'm going to raise a doc ticket for us to try and get the subtly of the performance around file server and use of functions
    gratitude thank you 3
  • d

    David Sandilands

    03/17/2023, 3:09 PM
    anyhoo I'm going to raise a doc ticket for us to try and get the subtly of the performance around file server and use of functions
  • k

    Ken

    03/17/2023, 5:44 PM
    Puppetboard question - Looking at the puppetboard install module, it's not clear if I am to install/configure puppetDB FIRST, then install puppetboard, or just install it on top of a barebones puppetserver. It would appear it installs at least some of the puppetDB stuff, so maybe let it?
  • y

    Yury Bushmelev

    03/17/2023, 6:22 PM
    niiice..
    Bundler.rubygems.find_name('puppet-blacksmith')
    reports there is such module but there is no in Gemfile.lock
  • y

    Yury Bushmelev

    03/17/2023, 6:26 PM
    that’s part of PDK weirdness (single dir for everything)
  • y

    Yury Bushmelev

    03/17/2023, 6:28 PM
    not sure if there is better way.. definitely there is no problem when bundler is used directly 🙂 (non-PDK one I mean)
  • s

    Slackbot

    03/17/2023, 7:34 PM
    This message was deleted.
    b
    r
    d
    • 4
    • 35
  • r

    runlolarun

    03/17/2023, 7:35 PM
    message has been deleted
  • b

    bastelfreak

    03/17/2023, 7:48 PM
    how do you currently deploy the code on puppet6.domain.com?
  • c

    Corporate Gadfly

    03/17/2023, 9:40 PM
    I must admit, I have fallen into the bad habit of distributing some Go binaries using custom mount point from puppet server. Would it be advisable to instead switch to Nexus OSS (which I have available already) and
    archive
    ? Largest file size is about 38MB.
  • s

    Slackbot

    03/18/2023, 11:53 PM
    This message was deleted.
    r
    g
    • 3
    • 3
  • c

    Calvin

    03/19/2023, 12:40 AM
    Hey guys, where do I go for help with a puppet installation?
  • y

    Yury Bushmelev

    03/19/2023, 5:51 AM
    You may ask questions here or you may buy the commercial support, depending on the Puppet version (PE vs OSS)
  • c

    Calvin

    03/19/2023, 8:31 AM
    I am using oss. I am having an issue with my codedir directory. I changed it to /srv/puppet instead of the default /etc/puppetlabs/code, however, the puppet agent appears to still be using the default directory.
  • c

    Calvin

    03/19/2023, 8:32 AM
    I even used the command puppet config set codedir, however, I am still having the same issue. Does anyone know a way away round this?
  • y

    Yury Bushmelev

    03/19/2023, 10:31 AM
    This directory is used by puppetserver
  • y

    Yury Bushmelev

    03/19/2023, 10:32 AM
    If you’re using masterless puppet then you can apply the code from anywhere too though
  • y

    Yury Bushmelev

    03/19/2023, 10:33 AM
    Easiest way is to symlink the codedir maybe
  • v

    vchepkov

    03/19/2023, 1:49 PM
    I added 1 day ttl cache to most heavy facts (all from puppet/yum) and see a strange result
    Copy code
    # facter -p -t yum_reboot_required|grep yum_reboot_required
    cached fact 'yum_reboot_required', took: (0.000366) seconds
    fact 'yum_reboot_required', took: (5.196689) seconds
    Why is it cached and not cached at the same time ? bug ?
  • d

    Dr Bunsen Honeydew

    03/19/2023, 1:49 PM
    See the
    puppet-yum
    module at https://forge.puppet.com/puppet/yum?src=slack&channel=puppet
  • m

    Massimiliano (Max)

    03/19/2023, 8:07 PM
    Is there something that one could add to metadata.json to require PuppetDB for a module? I have exported resources, I have a puppetdb query.
  • m

    Massimiliano (Max)

    03/19/2023, 8:12 PM
    I think I can guess the answer, because I see nothing here:
    <https://www.puppet.com/docs/puppet/7/modules_metadata.html>
  • m

    Massimiliano (Max)

    03/19/2023, 8:32 PM
    I think I can guess the answer, because I see nothing here:
    <https://www.puppet.com/docs/puppet/7/modules_metadata.html>
  • y

    Yury Bushmelev

    03/20/2023, 11:38 AM
    I wouldn’t expect there is a way tbh..
  • y

    Yury Bushmelev

    03/20/2023, 11:39 AM
    It’d be nice to have a way though.. maybe Content & Tooling team may consider this for future tasks.. cc @Craig Gumbley
  • s

    Slackbot

    03/20/2023, 11:39 AM
    This message was deleted.
    d
    y
    • 3
    • 5
  • g

    goeldi

    03/20/2023, 12:36 PM
    Is there something like a puppet agent repo for windows server? A co-worker needs the agent for Windows 2022 Server (20348.1607) I mean there is apt.puppet.com and yum.puppet.com, but what is it for windows?
  • g

    goeldi

    03/20/2023, 12:38 PM
    ah looks like downloads.puppetlabs.com/windows/
1...330331332...428Latest