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

    Yehuda Katz

    07/03/2023, 3:49 PM
    https://github.com/voxpupuli/facterdb/issues/276
  • y

    Yury Bushmelev

    07/03/2023, 3:51 PM
    looks like someone took facter output from non-QEMU virtual machine
  • y

    Yury Bushmelev

    07/03/2023, 4:01 PM
    hmm.. @Yehuda Katz which facterdb gem version do you have? and which facter version is used also? I had quick look over few redhat-X-x86_64.facts and it looks ok in master
  • y

    Yehuda Katz

    07/03/2023, 4:01 PM
    Whatever is running in the CI: https://github.com/voxpupuli/puppet-openvpn/actions/runs/5446399285/jobs/9907092844?pr=448
  • y

    Yehuda Katz

    07/03/2023, 4:03 PM
    There are no RHEL 9 facts in 4.4 or 4.3/ The last one to have those is 4.2 and that has these other IPs: https://github.com/voxpupuli/facterdb/blob/master/facts/4.2/redhat-9-x86_64.facts#L338
  • y

    Yury Bushmelev

    07/03/2023, 4:05 PM
    ah, I see now.. yes, I’d say it’s a bug..
  • y

    Yehuda Katz

    07/03/2023, 4:06 PM
    Is there a simple way for me to contribute the missing RHEL facts?
  • y

    Yury Bushmelev

    07/03/2023, 4:06 PM
    RHEL 8 facts have the same issue
  • y

    Yehuda Katz

    07/03/2023, 4:06 PM
    And 7
  • y

    Yury Bushmelev

    07/03/2023, 4:07 PM
    I’m not sure what is the policy.. it seems currently you can just raise a PR
  • y

    Yehuda Katz

    07/03/2023, 4:07 PM
    The repo says there is a Vagrantfile, but I don't see one
  • y

    Yury Bushmelev

    07/03/2023, 4:07 PM
    tbh, I’d prefer if we have a pool of QEMU images to run and take the facter output from
  • y

    Yehuda Katz

    07/03/2023, 4:08 PM
    Never mind, I found it...
  • y

    Yury Bushmelev

    07/03/2023, 4:09 PM
    cannot help with vagrant as I’m on Mac M1.. there is no working vagrant providers so far other than semi-custom qemu and experimental virtualbox
  • y

    Yury Bushmelev

    07/03/2023, 4:10 PM
    I switched to Lima while ago..
  • y

    Yury Bushmelev

    07/03/2023, 4:12 PM
    and btw.. maybe we should support arm64 in facts too.. and maybe deprecate i386 (if not done yet)
  • y

    Yury Bushmelev

    07/03/2023, 4:16 PM
    well.. I see there is a pool of VMs in Vagrantfile defined.. so forget about what I said about pool of QEMU images 🙂 it’s done but in vagrant
  • y

    Yehuda Katz

    07/03/2023, 4:28 PM
    I am running RHEL 7,8,9 now
  • y

    Yehuda Katz

    07/03/2023, 4:45 PM
    I submitted a PR. Is there a reason it still creates facts with Puppet 6?
  • y

    Yury Bushmelev

    07/03/2023, 4:46 PM
    I’m not aware of any..
  • e

    emerson_prado

    07/03/2023, 7:15 PM
    @vchepkov By core provider, I assume you refer to
    dnfmodule
    provider in
    package
    resource. There was some discussion about this a while ago. What we found out: 1. It can't, for example, install or uninstall whole profiles 2. It's somewhat limited on selecting streams and profiles 3. It's meant to manage packages, not modules
  • v

    vchepkov

    07/03/2023, 7:16 PM
    never tried uninstall, but install works fine, in my experience
  • e

    emerson_prado

    07/03/2023, 7:17 PM
    @vchepkov How do you install a profile?
  • v

    vchepkov

    07/03/2023, 7:20 PM
    For example
    Copy code
    puppet resource package nodejs provider=dnfmodule ensure=14 flavor=minimal
  • v

    vchepkov

    07/03/2023, 7:21 PM
    your code implies one can enable same stream multiple times, which is not the case, right?
  • e

    emerson_prado

    07/03/2023, 7:23 PM
    @vchepkov I didn't understand how
    puppet resource package nodejs provider=dnfmodule ensure=14 flavor=minimal
    installs a profile, rather than a package. Can you ellaborate?
  • v

    vchepkov

    07/03/2023, 7:23 PM
    falvor is a 'profile;
  • v

    vchepkov

    07/03/2023, 7:23 PM
    try it
  • v

    vchepkov

    07/03/2023, 7:24 PM
    and I am sure ensure=absent will remove all packages from that stream
  • e

    emerson_prado

    07/03/2023, 7:33 PM
    @vchepkov
    resource package <Module> provider=dnfmodule ensure=<Stream or absent> flavor=<Profile>
    does work. Will try some other options to replicate what I did in the PR.
    👍 1
1...534535536...647Latest