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

    VoxBot

    03/14/2023, 12:06 PM
    so you get bugs like https://github.com/voxpupuli/rspec-puppet-facts/issues/142
  • a

    Alex Fisher

    03/14/2023, 12:07 PM
    Can that actually be fixed without it being a massive breaking change for everyone though?
  • v

    VoxBot

    03/14/2023, 12:08 PM
    no, but if we're going to tell everyone "use modern facts" it means you're already massively checking everything
  • a

    Alex Fisher

    03/14/2023, 12:09 PM
    I think we should default to including legacy facts when testing Puppet 7 and default to not when testing Puppet 8.
  • v

    VoxBot

    03/14/2023, 12:09 PM
    or you can use a library like ActiveSupport with https://api.rubyonrails.org/classes/ActiveSupport/HashWithIndifferentAccess.html
  • a

    Alex Fisher

    03/14/2023, 12:12 PM
    PR for voxpupul-test incoming...
  • v

    VoxBot

    03/14/2023, 12:12 PM
    https://github.com/community/community/discussions/49954 that looks useful
  • v

    VoxBot

    03/14/2023, 12:21 PM
    the weird part is that https://github.com/voxpupuli/rspec-puppet-facts/blob/1418bca958049060a77dd49f10a9a298d15dc438/lib/rspec-puppet-facts.rb#L181-L183 suggests it should be recursive
  • a

    Alex Fisher

    03/14/2023, 12:23 PM
    https://github.com/voxpupuli/voxpupuli-test/pull/93
  • a

    Alex Fisher

    03/14/2023, 12:23 PM
    https://github.com/voxpupuli/voxpupuli-test/pull/93
  • a

    Alex Fisher

    03/14/2023, 12:23 PM
    Gonna grab lunch etc. I'll try to put up a rough draft of what I've been hacking on in time for this afternoon's meeting.
  • v

    VoxBot

    03/14/2023, 12:27 PM
    oh wait, we don't set string keys, but we should
  • v

    VoxBot

    03/14/2023, 12:27 PM
    this is something we can do in a new major version of voxpupuli-test
  • a

    Alex Fisher

    03/14/2023, 2:21 PM
    Looks like my DSL has just fallen over. Hoping it’ll be back ‘real soon’…
  • v

    VoxBot

    03/14/2023, 2:21 PM
    what, you don't want to join the sync on your phone's data plan?
  • v

    VoxBot

    03/14/2023, 2:24 PM
    somehow I read that as Domain Specific Language
  • a

    Alex Fisher

    03/14/2023, 2:29 PM
    I was moments away from pushing an rspec-puppet-facts proposal. Anyway... 'it got better'
  • j

    jhoblitt

    03/14/2023, 3:47 PM
    I took a quick look at puppet-augeasproviders_grub acceptance tests. Does beaker have the ability to add additional bind mounts to the SUT?
  • d

    Dr Bunsen Honeydew

    03/14/2023, 3:47 PM
    See the
    puppet-augeasproviders_grub
    module at https://forge.puppet.com/puppet/augeasproviders_grub?src=slack&channel=voxpupuli
  • v

    VoxBot

    03/14/2023, 3:48 PM
    I'm not sure, but https://github.com/voxpupuli/voxpupuli-acceptance/#customizing-host-configuration may be useful
  • j

    jhoblitt

    03/14/2023, 3:53 PM
    It looks like it might: https://github.com/voxpupuli/beaker-docker/blob/2db5156ccaa15d2bcc5e2081c9c4b0a634f9a3dd/docker.md?plain=1#L133-L150
  • v

    VoxBot

    03/14/2023, 3:53 PM
    that's mounting from the host, is that what you want?
  • j

    jhoblitt

    03/14/2023, 3:53 PM
    I'd like to try it
  • j

    jhoblitt

    03/14/2023, 3:53 PM
    Copy code
    Error: /Stage[main]/Main/Grub_config[GRUB_BOOLEAN_TEST]: Could not evaluate: Execution of '/usr/sbin/grub2-mkconfig' returned 1: /usr/sbin/grub2-probe: error: failed to get canonical path of `overlay'.
  • v

    VoxBot

    03/14/2023, 3:54 PM
    I really doubt grub is going to work in a container
  • j

    jhoblitt

    03/14/2023, 3:54 PM
    oh, I highly doubt it will
  • v

    VoxBot

    03/14/2023, 3:54 PM
    have you considered using vagrant(_libvirt) as the hypervisor?
  • j

    jhoblitt

    03/14/2023, 3:54 PM
    does nested virt work on the gha runners?
  • v

    VoxBot

    03/14/2023, 3:54 PM
    and I know bastelfreak has been trying to push for hcloud in our CI if we really need a VM instead of a container
  • j

    jhoblitt

    03/14/2023, 3:55 PM
    !!! https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
1...356357358...648Latest