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

    VoxBot

    10/28/2024, 7:48 AM
    so when you need to pass a bunch of options, does it make a difference if you iterate on them in epp and print them vs iterating in puppet and create inisetting resources?
  • y

    Yury Bushmelev

    10/28/2024, 7:49 AM
    yes, it's one File resource vs bunch of ini_setting resources 🙂
  • y

    Yury Bushmelev

    10/28/2024, 7:49 AM
    I'm not sure about internals, but I guess less resources is always better
  • v

    VoxBot

    10/28/2024, 7:49 AM
    true, but I'm not sure if you will notice a performance difference
  • y

    Yury Bushmelev

    10/28/2024, 7:50 AM
    then I'm fine 😄
  • v

    VoxBot

    10/28/2024, 7:50 AM
    so puppetdb 8 has the 'exclude unchanged resources' option, so they won't be updated in the DB when they didn't change
  • y

    Yury Bushmelev

    10/28/2024, 7:50 AM
    I'm working on system.conf and user.conf management PRs (including backward compat with your accounting change)
  • v

    VoxBot

    10/28/2024, 7:50 AM
    ah neat
  • y

    Yury Bushmelev

    10/28/2024, 7:51 AM
    collecting types is very time-consuming 😞
  • v

    VoxBot

    10/28/2024, 7:51 AM
    would be really cool to generate them based on the systemd source code
  • v

    VoxBot

    10/28/2024, 7:51 AM
    I once considered that
  • v

    VoxBot

    10/28/2024, 7:51 AM
    then I remembered that my C knowledge is shit :D
  • y

    Yury Bushmelev

    10/28/2024, 7:52 AM
    I found no way.. it's possible to collect setting names from their docs in XML, but no way to get types easily.. at least I found none
  • y

    Yury Bushmelev

    10/28/2024, 7:54 AM
    managing whole files might be better also because we can automate diffing them via CI/CD.. though, then we need at least docker containers with systemd to collect config files from
  • y

    Yury Bushmelev

    10/28/2024, 7:54 AM
    but I'm not ready to work on it right now 😄
  • y

    Yury Bushmelev

    10/28/2024, 7:55 AM
    I mean containers for all supported OSes above
  • t

    TheMeier

    10/28/2024, 7:57 AM
    Maybe Lennart is willing to provide machine readable docs for this use-cases? I'd say its worth a shot asking on the proper support channel (mailing-list?)
  • y

    Yury Bushmelev

    10/28/2024, 7:59 AM
    I'd be happy with some JSON (or even XML) structure that is parseable.. even CSV is good as long as there are types 🙂
  • y

    Yury Bushmelev

    10/28/2024, 7:59 AM
    even *.h or *.c which can be compiled with a stub that will generate something
  • y

    Yury Bushmelev

    10/28/2024, 8:00 AM
    actually.. I should check if go or rust has something
  • y

    Yury Bushmelev

    10/28/2024, 8:04 AM
    nothing found with quick googling.. nvm, will continue to reinvent the wheel 🙂
  • y

    Yury Bushmelev

    10/28/2024, 8:27 AM
    curious what ini_setting does when 2nd option with the same name but different value is found.. which is quite ok in systemd configs
  • y

    Yury Bushmelev

    10/28/2024, 8:28 AM
    it's impossible to squash them to a single line also.. e.g. capabilities
  • y

    Yury Bushmelev

    10/28/2024, 8:28 AM
    it seems I went too deep to the rabbit hole
  • y

    Yury Bushmelev

    10/28/2024, 10:13 AM
    well.. I made a draft, please comment: https://github.com/voxpupuli/puppet-systemd/pull/495
  • y

    Yury Bushmelev

    10/28/2024, 10:13 AM
    haven't tested yet and no tests.. but overall should be good enough
  • y

    Yury Bushmelev

    10/28/2024, 10:14 AM
    ah.. vscode extension config should be dropped instead of fixing.. will do later
  • t

    tuxmea

    10/28/2024, 10:16 AM
    Can I get a review, please? https://github.com/voxpupuli/puppet-wildfly/pull/339 This release fixes a bug regarding jboss-eap systemd template
  • v

    VoxBot

    10/28/2024, 12:08 PM
    can I get a release for https://github.com/voxpupuli/puppet-wildfly/pull/335
    ✅ 1
    👍 1
  • t

    tuxmea

    10/28/2024, 1:15 PM
    Can I please get some more PR in wildfly prior we are doing 4.0.0 release?
1...606607608...648Latest