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

    tvaughan

    08/11/2022, 1:12 PM
    @Rathios Switch to
    podman
    and it might work. Might still have the systemd issue though
  • r

    Rathios

    08/11/2022, 2:01 PM
    It seems vagrant doesn't play well with rbenv. So I will probably have to use something with an earlier ruby version than 3.1 regardless
  • r

    Rathios

    08/11/2022, 2:07 PM
    Hopefully tests on GitHub don't run into these issues before CentOS 7's EOL date
  • r

    Rathios

    08/11/2022, 2:10 PM
    One last shot at this; has anyone gotten vagrant to run fine with rbenv? Just gonna install an Ubuntu VM if not haha
  • v

    VoxBot

    08/11/2022, 2:11 PM
    I think I fixed all Ruby 3.1 issues so I don't understand why you'd need to downgrade
  • v

    VoxBot

    08/11/2022, 2:11 PM
    I never use rbenv/rvm
  • v

    VoxBot

    08/11/2022, 2:12 PM
    and for containers I have this in ~/.bashrc: export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock
  • v

    VoxBot

    08/11/2022, 2:12 PM
    and then systemctl --user enable --now podman.socket
  • v

    VoxBot

    08/11/2022, 2:12 PM
    (on Fedora 36)
  • r

    Rathios

    08/11/2022, 2:13 PM
    I'll give that a try first to see if it fixes the CentOS 7 tests. If not there is this when running with BEAKER_HYPERVISOR=vagrant_libvirt on Ruby 3.1 without rbenv
    Copy code
    Failure/Error: configure_beaker
    
    LoadError:
      cannot load such file -- irb
      Did you mean?  erb
                     drb
    # ./vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb:4:in `require'
  • v

    VoxBot

    08/11/2022, 2:13 PM
    can you share a full reproducer in a pastebin somewhere?
  • r

    Rathios

    08/11/2022, 2:13 PM
    Yep
  • b

    bastelfreak

    08/11/2022, 2:16 PM
    the issue is that stdlib and vendored gems in ruby are tricky. the ruby developer assume that by installing ruby, you get the rdoc, irb and other gems. that doesn't seem to be the case on fedora
  • b

    bastelfreak

    08/11/2022, 2:16 PM
    we had the same packaging issue on arch linux. the workaround is adding
    gem 'irb'
    and
    gem 'rdoc'
    to the Gemfile, or to ask the fedora people to update their packages
  • r

    Rathios

    08/11/2022, 2:21 PM
    Neat, that fixed it. Thanks!
  • r

    Rathios

    08/11/2022, 2:27 PM
    dnf install rubygem-irb
    also works. But not rubygem-rdoc package, still couldn't find that gem.
  • v

    VoxBot

    08/11/2022, 2:31 PM
    oh yes, that's something I wanted to resolve with https://github.com/voxpupuli/beaker/pull/1737
  • v

    VoxBot

    08/11/2022, 2:32 PM
    essentially: pry should depend on rdcoc, but it doesn't - workaround is to add rdoc to your Gemfile
  • v

    VoxBot

    08/11/2022, 2:33 PM
    I should finish that
  • v

    VoxBot

    08/11/2022, 2:37 PM
    is there some work remaining?
  • v

    VoxBot

    08/11/2022, 2:37 PM
    decide if it should be a major or minor bump
  • v

    VoxBot

    08/11/2022, 2:38 PM
    I'm now leaning to minor because then we can just release it
  • v

    VoxBot

    08/11/2022, 2:38 PM
    yep. I think we can call this enhancement and merge eit
  • v

    VoxBot

    08/11/2022, 2:50 PM
    https://github.com/voxpupuli/beaker/pull/1754
  • v

    VoxBot

    08/11/2022, 2:50 PM
    let's see if I broke things badly
  • r

    Rathios

    08/11/2022, 3:06 PM
    Woot. CentOS 7 tests are finally running fine. That took me way too long 😆 Much appreciate the help with wrangling Fedora 36's quirks
  • r

    Rathios

    08/11/2022, 3:10 PM
    .. and my own inexperience with Ruby
  • v

    VoxBot

    08/11/2022, 8:57 PM
    can I get a review foor https://github.com/voxpupuli/puppet-elastic_stack/pull/53 ? smortex ?
  • v

    VoxBot

    08/11/2022, 8:57 PM
    bastelfreak: o/ I go see that
  • v

    VoxBot

    08/11/2022, 8:59 PM
    is currently fighting with the nginx module. He can't bear nginx, but the puppet module is even worse… so much pain… He hopefully is seeing the end-of-it
1...125126127...648Latest