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

    VoxBot

    05/11/2023, 9:13 PM
    And guess who signed off on the PR?
  • v

    VoxBot

    05/11/2023, 9:13 PM
    both you and me :P
  • v

    VoxBot

    05/11/2023, 9:14 PM
    bastelfreak: unrelated, but if it's a reasonable hour there and you get a sec, can you see if https://github.com/voxpupuli/puppet-rabbitmq/pull/932 is what you were asking for with the os_facts? also added support for FreeBSD
  • v

    VoxBot

    05/11/2023, 9:15 PM
    I don't think I'm going to try to pull the defaults back out from data in any of the PRs I'm working on now. Maybe after we get modulesync working and the existing breaking changes released
  • v

    VoxBot

    05/11/2023, 9:15 PM
    it is always a reasonable hour to review puppet code
  • v

    VoxBot

    05/11/2023, 9:20 PM
    bastelfreak: hah. thank you... appreciated.
  • v

    VoxBot

    05/11/2023, 9:21 PM
    your welcome!
  • v

    VoxBot

    05/11/2023, 9:21 PM
    I took a stab at going one step further towards fixing the arch acceptance tests, and can't even get it to run locally :/
  • v

    VoxBot

    05/11/2023, 9:21 PM
    I feel like either someone who understands both Arch and rabbitmq needs to take a stab at it, or we need to drop official support, tho if you have any thoughts on making acceptance tests work, I can give it one more shot. right now it just gets in a loop where it can't ssh in to bootstrap puppet
  • v

    VoxBot

    05/11/2023, 9:27 PM
    also, do we want os_facts[:osfamily] or os_facts['os']['family'] in specs?
  • v

    VoxBot

    05/11/2023, 9:33 PM
    osfamily is the legacy fact, we should not use it
  • v

    VoxBot

    05/11/2023, 9:33 PM
    for now you can drop arch linux from the metadata.json
  • v

    VoxBot

    05/11/2023, 10:52 PM
    bastelfreak: thanks - I think that will be smart until someone has time to fix it. And, if modulesync is needed before the next release, would be really helpful if someone who's got more of a clue with this stuff takes a look
  • v

    VoxBot

    05/11/2023, 10:52 PM
    I can make a PR to standardize :osfamily
  • v

    VoxBot

    05/11/2023, 11:00 PM
    bastelfreak: you want that one flagged as breaking too? (might as well since we've got 2-3 other ones to release)
  • v

    VoxBot

    05/11/2023, 11:00 PM
    https://github.com/voxpupuli/puppet-rabbitmq/pull/933
  • v

    VoxBot

    05/12/2023, 7:54 AM
    can I get a review for https://github.com/voxpupuli/modulesync_config/pull/831
  • p

    Paula

    05/12/2023, 12:04 PM
    Hey everyone, I just want to drop this blog post here to make sure you are all aware of the major changes in stdlib with function removal: https://puppetlabs.github.io/content-and-tooling-team/blog/posts/2023-05-12-deprecation-of-stdlib-functions/
    👍 1
  • v

    VoxBot

    05/12/2023, 12:40 PM
    just curious: does anyone know if File.read changed behaviour between puppet6 and puppet7?
  • v

    VoxBot

    05/12/2023, 12:40 PM
    been going through changelogs of puppet and ruby to gain some info, but so far no luck
  • v

    VoxBot

    05/12/2023, 12:41 PM
    I'd say "shouldn't", but you know, never say never
  • v

    VoxBot

    05/12/2023, 12:41 PM
    what are you seeing?
  • v

    VoxBot

    05/12/2023, 12:46 PM
    have a look at https://github.com/voxpupuli/puppet-openssl/actions/runs/4958660326/jobs/8871820821
  • v

    VoxBot

    05/12/2023, 12:48 PM
    In puppet6 the tests are fine; in puppet7 the same tests fail with an rb_sysopen error (which to be fair is not unexpected). Its more that I am wondering how it has been working in puppet6 xd
  • v

    VoxBot

    05/12/2023, 12:59 PM
    or to be more specific: for puppet7 the StandardError for rb_sysopen isnt rescued properly it seems; as the implementation expects an error and should propagate it as a warning, but still return a value "nil"
  • v

    VoxBot

    05/12/2023, 1:04 PM
    "quickly" installing a 2.4 ruby to check smth :D
  • v

    VoxBot

    05/12/2023, 1:05 PM
    irb(main)0010> File.read('/lol')
  • v

    VoxBot

    05/12/2023, 1:05 PM
    Errno:ENOENT No such file or directory @ rb_sysopen - /lol
  • v

    VoxBot

    05/12/2023, 1:05 PM
    no, that too correctly fails
  • v

    VoxBot

    05/12/2023, 1:14 PM
    yea, failing is the intended behaviour and didnt change, but rescueing the error seems to work different?
1...474475476...642Latest