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

    Massimiliano (Max)

    07/24/2022, 6:04 PM
    I was trying to create a release for
    ipset
    module (though I don't know yet, if I belong to proper group in Voxpupuli, but I'll discover it soon). I was using the instructions on Voxpupuli and I ran the command:
    bundle exec rake release
    I got this error:
    remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
    1. I can create a PR for Voxpupuli website and amend the command (what was the repo name for the website? 🙂 ) 2. do you know the correct command on top of your head?
  • m

    Massimiliano (Max)

    07/24/2022, 6:10 PM
    message has been deleted
  • b

    bastelfreak

    07/24/2022, 6:16 PM
    first you nee fto use the changelog task to update changelog.md and propose that in a PR
  • b

    bastelfreak

    07/24/2022, 6:16 PM
    or was that already done?
  • m

    Massimiliano (Max)

    07/25/2022, 8:36 AM
    @bastelfreak entirely wrong procedure.... 🙂 sorry
  • v

    VoxBot

    07/25/2022, 8:22 PM
    can I get a review for https://github.com/voxpupuli/voxpupuli.github.io/pull/266
    👍 1
  • s

    Slackbot

    07/26/2022, 2:33 AM
    This message was deleted.
    y
    y
    • 3
    • 3
  • v

    vchepkov

    07/27/2022, 12:59 AM
    FYI,
    puppet/rhsm 5.1.0
    added a resource dependency cycles
  • d

    Dr Bunsen Honeydew

    07/27/2022, 12:59 AM
    See the
    puppet-rhsm
    module at https://forge.puppet.com/puppet/rhsm?src=slack&channel=voxpupuli
  • v

    vchepkov

    07/27/2022, 1:02 AM
    Copy code
    File[/etc/yum.repos.d/redhat.repo] => Class[Rhsm] => Class[Yum] => File[/etc/yum.repos.d] => File[/etc/yum.repos.d/redhat.repo
  • b

    bastelfreak

    07/27/2022, 6:17 AM
    mhm, why didn't we see that in our tests
  • b

    bastelfreak

    07/27/2022, 6:17 AM
    is that coming from the yum module?
  • a

    Alex Fisher

    07/27/2022, 10:26 AM
    This PR. https://github.com/voxpupuli/puppet-rhsm/pull/125
  • a

    Alex Fisher

    07/27/2022, 10:26 AM
    This PR. https://github.com/voxpupuli/puppet-rhsm/pull/125
  • a

    Alex Fisher

    07/27/2022, 10:27 AM
    @vchepkov But are you the one defining the relationship between
    Class[Rhsm]
    and
    Class[Yum]
    in your profiles?
  • a

    Alex Fisher

    07/27/2022, 10:31 AM
    Only including this resource if
    purge_unmanaged_repos
    is
    true
    https://github.com/voxpupuli/puppet-yum/pull/258/files#diff-c6c3a824d185ff01e063011517a1b13a604dc3d7b63d1c67a30451c10df02bcbR122 might also help.
  • a

    Alex Fisher

    07/27/2022, 10:31 AM
    (Not much point in declaring it otherwise)
  • v

    vchepkov

    07/27/2022, 11:05 AM
    Yes, yum requires rhsm in my profile. system should be subscribed before configuration adjusted
  • v

    vchepkov

    07/27/2022, 11:07 AM
    imho, yum should leave file alone, not rhsm
  • v

    vchepkov

    07/27/2022, 11:10 AM
    also, that yum code is questionable. It assumes that yumrepo creates a file resource. that's not the case
    Copy code
    # grep -E "yumrepo|yum.repos.d" /opt/puppetlabs/puppet/cache/state/resources.txt 
    file[/etc/yum.repos.d]
    yumrepo[epel]
    yumrepo[vvc]
    yumrepo[vvc-source]
    yumrepo[choria_release]
    yumrepo[choria_nightly]
    yumrepo[puppet-tools]
    file[/etc/yum.repos.d/pe_repo.repo]
    file[/etc/yum.repos.d/pc_repo.repo]
    yumrepo[puppet_enterprise]
  • v

    vchepkov

    07/27/2022, 11:11 AM
    so it would fight with yumrepo each time
  • v

    vchepkov

    07/27/2022, 11:13 AM
    I address it differently, with a purge resource
    Copy code
    if $purge_enable {
          # disable unauthorized repositories
          purge { 'yumrepo':
            manage_property => 'enabled',
            state           => '0',
            unless          => ['baseurl', '=~', $satellite::client::server],
          }
        }
  • l

    Lumiere

    07/27/2022, 8:13 PM
    @bastelfreak any thoughts on what would cause
    Copy code
    Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/splunk_config: Could not autoload puppet/provider/splunk_metadata/ini_setting: no such file to load -- puppet/util/ini_file
    on first run (or on puppet apply and how to fix it in tests)
  • b

    bastelfreak

    07/27/2022, 8:14 PM
    did you run puppet generate types?
  • l

    Lumiere

    07/27/2022, 8:15 PM
    no, I can add that to the deployment code which might fix the on-puppet-run, but it doesnt' solve for unit testing
  • b

    bastelfreak

    07/27/2022, 8:15 PM
    give it a try. depending on the PE/r10k version this might already be executed
  • b

    bastelfreak

    07/27/2022, 8:16 PM
    which tests fail? the unit tests for our splunk module?
  • l

    Lumiere

    07/27/2022, 8:17 PM
    specifically a tests for my splunk profile
  • l

    Lumiere

    07/27/2022, 8:18 PM
    I was having to work around a cgroupsv2 issue in the systemd unit file splunk generates
  • l

    Lumiere

    07/27/2022, 8:18 PM
    for el9
1...113114115...648Latest