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

    VoxBot

    01/13/2023, 10:28 PM
    it would need a major rewrite, but given we typically query 3 facts (facterversion, OS name, OS major version) it would make sense to make a more optimized index, but I haven't had time to play with that
  • v

    VoxBot

    01/13/2023, 10:40 PM
    I think it is time for a new major release that drops those old factsets
  • v

    VoxBot

    01/13/2023, 10:41 PM
    some got manipulated so much with sed, they probably arent even correct
  • v

    VoxBot

    01/13/2023, 10:47 PM
    that might be something to poke binford2k about... make sure that there's not some looming explosion that would be caused by it
  • v

    VoxBot

    01/13/2023, 10:49 PM
    some people just want to see the build break^w^wworld burn
  • v

    VoxBot

    01/13/2023, 10:51 PM
    I am that guy some days, but usually on something less critical^H^H^H^H^H^H^H^Hpublic
  • v

    VoxBot

    01/13/2023, 10:52 PM
    Makes sense to drop old factsets to me. People needing them can always pin to old versions
  • v

    VoxBot

    01/14/2023, 9:15 AM
    my irc client can do that as well \o/
  • v

    VoxBot

    01/14/2023, 3:00 PM
    because I hate manual jobs to generate data I took a stab at automating it: https://github.com/voxpupuli/facterdb/pull/262
  • v

    VoxBot

    01/14/2023, 3:01 PM
    on a related note: I'd love to do the same with REFERENCE.md
  • v

    VoxBot

    01/14/2023, 3:01 PM
    keep it out of git and generate it when needed
  • v

    VoxBot

    01/14/2023, 3:01 PM
    perhaps make some easy CI job to preview it
  • v

    VoxBot

    01/14/2023, 3:14 PM
    ewoud: ah nice
  • y

    Yehuda Katz

    01/16/2023, 2:43 PM
    We are installing new systems with RHEL9 which uses firewalld. We created a middle module for our firewall rules that checks whether a system should be using firewalld or iptables and creates the proper resources. We are running into an issue of having extra zones (for example, if something gets removed and leaves a zone empty). Is there a good way to purge zones that aren't being used?
  • v

    VoxBot

    01/16/2023, 3:29 PM
    @Yehuda Katz, you can configure resources to purge, and only create ones in Puppet
  • v

    VoxBot

    01/16/2023, 3:31 PM
    https://www.puppet.com/docs/puppet/7/types/resources.html#resources-attribute-purge
  • v

    VoxBot

    01/16/2023, 3:33 PM
    yep, though you do need to make sure your type (or provider really) can load all zones correctly
  • v

    VoxBot

    01/16/2023, 3:45 PM
    that is, implements, uh, what's it called
  • v

    VoxBot

    01/16/2023, 3:45 PM
    prefetch?
  • v

    VoxBot

    01/16/2023, 3:45 PM
    yes!
  • v

    VoxBot

    01/16/2023, 3:45 PM
    I think it means implementing the instances method
  • j

    jhoblitt

    01/16/2023, 4:52 PM
    @Yehuda Katz I find firewalld... Difficult. Why not use nftables? The iptables mod should work.
  • l

    Lumiere

    01/16/2023, 4:55 PM
    I don't think el9 provides iptables compat layers anymore
    this2 1
  • s

    Slackbot

    01/16/2023, 4:55 PM
    This message was deleted.
    y
    j
    • 3
    • 4
  • v

    VoxBot

    01/16/2023, 4:56 PM
    there is https://github.com/voxpupuli/puppet-nftables
  • j

    jhoblitt

    01/16/2023, 4:56 PM
    https://packages.fedoraproject.org/pkgs/iptables-epel/iptables-legacy/epel-9.html
  • v

    VoxBot

    01/16/2023, 4:57 PM
    native nftables has atomic application, so you can't purge part of your rules like with iptables
  • v

    VoxBot

    01/16/2023, 4:57 PM
    certainly a reason to prefer nftables over iptables
  • j

    jhoblitt

    01/16/2023, 4:59 PM
    I haven't used it in more than 2 decades and yet I still miss ipf on *bsd
  • j

    jhoblitt

    01/16/2023, 5:07 PM
    Life is hard without EPEL packages
1...247248249...648Latest