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

    VoxBot

    05/21/2023, 3:46 PM
    @bastelfreak, done with https://github.com/voxpupuli/puppet-openssl/pull/159
  • v

    VoxBot

    05/21/2023, 5:38 PM
    @bastelfreak, aaaand done with https://github.com/voxpupuli/puppet-openssl/pull/153
  • v

    voxel

    05/21/2023, 6:32 PM
    anybody here ever tried to use beaker with podman on a mac? And maybe give me some hint to get that running?
  • b

    bastelfreak

    05/21/2023, 6:57 PM
    I am not sure if @Yury Bushmelev tried that
  • y

    Yury Bushmelev

    05/21/2023, 6:59 PM
    Yes, I did.. though I’m using lima for this
  • y

    Yury Bushmelev

    05/21/2023, 7:00 PM
    lima start --name=podman <template://podman>
  • y

    Yury Bushmelev

    05/21/2023, 7:00 PM
    then
    export DOCKER_HOST="/path/to/socket/displayed/by/lima/output"
  • y

    Yury Bushmelev

    05/21/2023, 7:01 PM
    then you are ready to run things 🙂
  • y

    Yury Bushmelev

    05/21/2023, 7:02 PM
    you can use macos podman distribution too I believe.. just need the path to the unix socket.. or maybe to a docker-compatible tcp socket.. not sure how podman is accessed in this case
  • v

    VoxBot

    05/21/2023, 7:03 PM
    for dnf modules the "pacakge{postgres: provider => dnfmodule, ensure =>12, enable_only => true, }" works well to enable only the dnf module. It's true that changing the version fails since a reset is needed but yes that probably should be a fix to to that provider.
  • v

    voxel

    05/21/2023, 7:04 PM
    thanks, already got podman up and running, but beaker is not able to connect to sshd because sshd is not starting within the container .. as far as I saw until now
  • v

    VoxBot

    05/21/2023, 7:04 PM
    DOCKER_HOST I always set to unix:/path/to/socket .. but you have got past that it seems.
  • v

    voxel

    05/21/2023, 7:05 PM
    I'll give it a try with lima maybe some changes there...
  • v

    voxel

    05/21/2023, 7:05 PM
    yes ty..
  • y

    Yury Bushmelev

    05/21/2023, 7:15 PM
    on Mac m1 you need arm64 beaker images
  • v

    voxel

    05/21/2023, 7:25 PM
    I get "Warning: Try 2 -- Host 127.0.0.1 unreachable: Net:SSH:Disconnect - connection closed by remote host"... and not 100% sure which system tries to reach what... M)
  • v

    voxel

    05/21/2023, 7:43 PM
    Seems to be that bug: https://github.com/containers/podman/issues/5153
  • e

    emerson_prado

    05/21/2023, 7:52 PM
    Regarding package resource with dnfmodule provider: does it, or should it, support: • Disabling a stream • Uninstalling all packages from a module • Installing all packages from a specific profile
  • e

    emerson_prado

    05/21/2023, 7:54 PM
    Technically, all of this could be implement in package resource. I just want to be sure it's the correct place. It doesn't seem to me that managing modules should be treated as managing packages, but I'd better hear the community.
  • b

    bastelfreak

    05/21/2023, 8:05 PM
    probably a good question for the puppet devs
  • b

    bastelfreak

    05/21/2023, 8:06 PM
    I dont know what the dnfmodule provider supports and I dont know what kind of changes would be accepted
  • e

    emerson_prado

    05/21/2023, 8:08 PM
    Interesting. Do they have a Slack channel? Otherwise, which is the best way to talk?
  • b

    bastelfreak

    05/21/2023, 8:10 PM
    probably check #puppet
    👍 1
  • e

    emerson_prado

    05/21/2023, 8:10 PM
    Thanks!
  • s

    Slackbot

    05/21/2023, 8:17 PM
    This message was deleted.
    v
    • 2
    • 2
  • v

    VoxBot

    05/21/2023, 8:19 PM
    Bound to be some of the missing things open already.
  • e

    emerson_prado

    05/21/2023, 8:27 PM
    I would bet
    ensure => absent
    would remove the package, rather than disabling the module or uninstalling the module or a profile from it. Otherwise, does the user have a clear way to know whether
    absent
    applies to the package, the module, or the profile?
  • v

    VoxBot

    05/22/2023, 9:22 AM
    i got another PR, does someone have time to review? :) https://github.com/voxpupuli/puppet-openssl/pull/164
  • h

    Hugo Haakseth

    05/22/2023, 12:32 PM
    Does any one know if there are known issues with beaker/beaker-docker and centos7 on Ubuntu 22.04 ? To me it seems like systemd and sshd is not starting in the container. Using centos-8 images works as expected. My environment
    Copy code
    uname -a
    Linux <http://spk1368.spk.no|spk1368.spk.no> 5.19.0-42-generic #43~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 21 16:51:08 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
    
    docker -v
    Docker version 24.0.1, build 6802122
    
    rbenv local
    2.7.8
    
    bundle -v
    Bundler version 2.1.4
    
    bundle exec gem list beaker 
    
    *** LOCAL GEMS ***
    
    beaker (5.2.0)
    beaker-docker (2.1.0)
    beaker-hostgenerator (2.2.0)
    beaker-module_install_helper (2.0.0)
    beaker-puppet (1.6.0)
    beaker-puppet_install_helper (0.9.4)
    beaker-rspec (8.0.1)
  • s

    Slackbot

    05/22/2023, 1:50 PM
    This message was deleted.
    h
    • 2
    • 1
1...481482483...642Latest