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

    Alex Fisher

    05/27/2022, 10:25 AM
    https://github.com/voxpupuli/puppet-grafana/pull/285 is ready.
  • a

    Alex Fisher

    05/27/2022, 10:25 AM
    https://github.com/voxpupuli/puppet-grafana/pull/285 is ready.
  • b

    bastelfreak

    05/27/2022, 10:35 AM
    @Alex Fisher do you have plans for a rewrite to grt prefetch working?
  • a

    Alex Fisher

    05/27/2022, 10:58 AM
    I thought about it, but basically it would mean rewriting all the types to use credentials from a config file.
  • a

    Alex Fisher

    05/27/2022, 10:59 AM
    Which for 90% of people would probably be fine, but there are maybe some users who are managing multiple remote grafana servers from the same Puppet run. They'd be less happy!
  • a

    Alex Fisher

    05/27/2022, 11:01 AM
    Might be nice to be able to implement
    instances
    though, so that unmanaged users could be purged etc.
  • a

    Alex Fisher

    05/27/2022, 11:03 AM
    If I had the time and inclination, maybe just a companion
    grafana_types
    module with all new types using the resource API and puppet device transport stuff.
  • a

    Alex Fisher

    05/27/2022, 11:06 AM
    Things actually get complicated pretty quickly. eg. when returning users, should you ignore all non local users? There are ldap users, proxy auth users, oauth etc. etc. I've not got the time to work out or test trying to manage the parts of those that you can manage.
  • b

    bastelfreak

    05/27/2022, 11:14 AM
    yeah it is tricky
  • a

    Alex Fisher

    05/27/2022, 12:46 PM
    For 100 users, the new implementation is ~100x faster in my testing.
  • a

    Alex Fisher

    05/27/2022, 12:46 PM
    ie ~2 seconds and not ~200 seconds
  • a

    Alex Fisher

    05/27/2022, 12:49 PM
    I don't suppose too many people want to manage 100 local users, but I could imagine wanting to manage a few, and the provider fetching the details of 100's of LDAP users individually for each local grafana_user in your catalog.
  • g

    genebean

    05/27/2022, 1:40 PM
    @Alex Fisher ++ Thanks for teaching me a better way to validate yaml generated by Puppet!
  • d

    Dr Bunsen Honeydew

    05/27/2022, 1:40 PM
    afisher +1! (Karma: 2)
  • a

    Alex Fisher

    05/27/2022, 2:03 PM
    same technique works well for xml, json, toml etc. Really useful when you've created output using a complicated template.
  • g

    Greg Dubicki

    05/27/2022, 4:11 PM
    v3.5.0 of the Puppetboard has been released, please check it out! changes:
    • Report view improvements:
    ◦ show Logs before Events as they are more useful,
    ◦ show different, arguably more useful columns in Logs by default,
    ◦ allow showing messages in a “friendly” mode (like in Failures view),
    ◦ make Logs and Events filterable,
    ◦ don’t force column sizes for a better, automatic content layout,
    ◦ use fixed-width font where it makes more sense,
    • Fix mixed up normal and OFFLINE_MODE for Query view.
  • g

    Greg Dubicki

    05/27/2022, 4:12 PM
    v3.5.0 of the Puppetboard has been released, please check it out! changes:
    • Report view improvements:
    ◦ show Logs before Events as they are more useful,
    ◦ show different, arguably more useful columns in Logs by default,
    ◦ allow showing messages in a “friendly” mode (like in Failures view),
    ◦ make Logs and Events filterable,
    ◦ don’t force column sizes for a better, automatic content layout,
    ◦ use fixed-width font where it makes more sense,
    • Fix mixed up normal and OFFLINE_MODE for Query view.
  • j

    jhoblitt

    05/27/2022, 10:19 PM
    Almalinux 9 just came out of beta. I would like to have some sort of el9 acceptance testing soon. Has anyone given thought to adding centostream 9, alma9, etc. to metadata2gh ?
  • b

    bastelfreak

    05/28/2022, 7:06 AM
    not yet. but adding it to metadata2gh + alma/rocky/centosstreamo to our metadata.json + facterdb would be nice
  • v

    VoxBot

    05/29/2022, 5:49 PM
    agreed
  • v

    VoxBot

    05/29/2022, 7:48 PM
    I am currently poking https://github.com/voxpupuli/puppet-rsyslog/pull/201 and I am not sure why os.distro.codename does not resolve. lsb-release package is installed
  • v

    VoxBot

    05/30/2022, 11:22 AM
    can I get a review for https://github.com/voxpupuli/beaker/pull/1741 ?
  • v

    VoxBot

    05/30/2022, 11:26 AM
    and also https://github.com/voxpupuli/beaker-hostgenerator/pull/251
  • r

    root-expert

    05/30/2022, 12:57 PM
    @bastelfreak could that be a caching problem? Like puppet tries to resolve before lsb-release is installed and then is cached as nil. Although lsb-release is installed early enough (although not before puppet?)
  • b

    bastelfreak

    05/30/2022, 12:58 PM
    mhm I do not think so
  • b

    bastelfreak

    05/30/2022, 12:58 PM
    facter isn't invoked before installing the lsb-release package
  • b

    bastelfreak

    05/30/2022, 12:58 PM
    and usually it doesn't cache
  • r

    root-expert

    05/30/2022, 12:58 PM
    https://github.com/voxpupuli/puppet-rsyslog/runs/6645371563?check_suite_focus=true#step:5:353
  • r

    root-expert

    05/30/2022, 12:59 PM
    It shouldn't be cached yes, because it could become available later
  • r

    root-expert

    05/30/2022, 1:00 PM
    And on 366 it searches for os.distro.codename. That line on nginx module it prints the correct value 🤷
1...515253...648Latest