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

    VoxBot

    02/26/2025, 3:57 PM
    ok, I see it now, this is going to be a hard break on puppet's facter moving forward
  • v

    VoxBot

    02/26/2025, 4:08 PM
    https://github.com/voxpupuli/facterdb/pull/388/files
  • v

    VoxBot

    02/26/2025, 4:12 PM
    and in the time it takes me to read things bastelfreak just fixes it +1
  • v

    VoxBot

    02/26/2025, 4:12 PM
    that's quite hacky. someone with a bit of time should also update the apt config
  • v

    VoxBot

    02/26/2025, 4:13 PM
    I need to make dinner now. if someonew wants to continue, feel free
  • v

    VoxBot

    02/26/2025, 4:17 PM
    Also this isn't far from being perfect bevause we mix openvox packages now with rubygems facter releases from Perforce. I think we can stop iterating on rubygems versions for alle platforms where we have packages
  • v

    VoxBot

    02/26/2025, 6:23 PM
    Lumiere: you mentioned libvirt, are you a user of beaker-libvirt by any chance?
  • v

    vchepkov

    02/27/2025, 11:34 AM
    We have trouble using brew as is. installing something unsigned will blow all kinds of whistles
    n
    • 2
    • 3
  • b

    bastelfreak

    02/27/2025, 4:11 PM
    @romgo check
    $_template_params
    in instance.pp
  • b

    bastelfreak

    02/27/2025, 4:11 PM
    that's the hash that's passed to the template. the hash needs to contain the new parameter
  • r

    romgo

    02/27/2025, 4:11 PM
    oh !
  • b

    bastelfreak

    02/27/2025, 4:12 PM
    and please try to avoid threads here, they don'y play nicely with the IRC bridges (it orders all messages by date and ignores threads)
    👍 1
  • r

    romgo

    02/27/2025, 4:50 PM
    build is failing on OS that still use redis 6.X, according to https://endoflife.date/redis 6.X is EOL. so I see two options : • Drop support for redis 6.X • Manage in redis.conf.epp my parameter only for redis > 7.X
  • v

    VoxBot

    02/27/2025, 4:54 PM
    I'm not that familiar with redis. Do we always use the distro packages? Or some redis upstream repo? Is there already support for redis 7 in general?
  • r

    romgo

    02/27/2025, 4:58 PM
    I saw a redis repo. But according to the readme by default we use the distrib package : https://github.com/voxpupuli/puppet-redis?tab=readme-ov-file#manage-repositories
  • v

    VoxBot

    02/27/2025, 4:59 PM
    as long as the distros are still supported, we assume that they provide patches for the used software, so I think we should keep redis 6 for now
  • r

    romgo

    02/27/2025, 5:06 PM
    Ok, so I need to deal with this in epp thanks
  • v

    VoxBot

    02/27/2025, 5:19 PM
    What's the best way to override the gem source for the snap provider? I've got a /etc/gemrc and /root/.gemrc, but from the looks of the snap package provider gemfile it wants it as an environment variable.
  • v

    VoxBot

    02/27/2025, 5:21 PM
    Whoops, just realized that wasn't a VP module like I thought it was.
  • v

    VoxBot

    02/27/2025, 6:20 PM
    FriedBob: do you mean for this resource? https://github.com/root-expert/puppet-snap/blob/v2.0.0/manifests/init.pp#L40-L43
  • v

    VoxBot

    02/27/2025, 6:21 PM
    if so, remember that is enforced on the agent side. And
    puppet_gem
    will use the
    /opt/puppetlabs/....
    gem environment
  • v

    VoxBot

    02/27/2025, 6:22 PM
    my guess was https://github.com/root-expert/puppet-snap/blob/v2.0.0/lib/puppet/provider/package/snap.rb
  • v

    VoxBot

    02/27/2025, 6:24 PM
    does snap use gemrc?
  • v

    VoxBot

    02/27/2025, 6:24 PM
    Yeah, tryingto use the root-expert snap provider
  • v

    VoxBot

    02/27/2025, 6:24 PM
    It has a Gemfile with a line that looks for an ENV_VAR or will force it to use rubygems.org for thre gem source
  • v

    VoxBot

    02/27/2025, 6:25 PM
    https://github.com/root-expert/puppet-snap/blob/v2.0.0/Gemfile#L4
  • v

    VoxBot

    02/27/2025, 6:25 PM
    right, the Gemfile is typically used for testing. Like
    bundle exec rake spec
  • v

    VoxBot

    02/27/2025, 6:25 PM
    So when I try to install a snap, it tries to install that gem, but then fails because it can't talk to rubygems.org and is ignoring /root/.gemrc and /etc/gemrc
  • b

    bastelfreak

    02/27/2025, 6:26 PM
    ah yes
  • v

    VoxBot

    02/27/2025, 6:26 PM
    ok, so yes. You're talking about that package resource I linked.
1...636637638639640Latest