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

    Alex Fisher

    11/02/2022, 1:36 PM
    ewoud: Is it possible to get metadata2gha to skip older puppet versions even if they do appear in metadata.json?
  • a

    Alex Fisher

    11/02/2022, 1:37 PM
    Context is https://github.com/voxpupuli/puppet-puppet_certificate/actions/runs/3377469357/jobs/5606444643#step:4:43
  • v

    VoxBot

    11/02/2022, 1:38 PM
    I suppose so, though I wonder what is desired
  • v

    VoxBot

    11/02/2022, 1:39 PM
    I don't like silently ignoring things - perhaps with an explicit "--i-know-what-i-am-doing" style flag?
  • a

    Alex Fisher

    11/02/2022, 1:43 PM
    yeah, I'm not sure on a sane implementation.
  • v

    VoxBot

    11/02/2022, 1:44 PM
    or a --min-puppet-version parameter where you can use --min-puppet-version 6 to test on >= 6
  • v

    VoxBot

    11/02/2022, 1:44 PM
    if it's not passed it uses the lower bound from metadata.json
  • v

    VoxBot

    11/02/2022, 1:45 PM
    if it is passed and the lower bound in metadata.json is higher (so param is 6, metadata.json is 7) it raises an error
  • a

    Alex Fisher

    11/02/2022, 1:48 PM
    dunno if you need to raise an error
  • v

    VoxBot

    11/02/2022, 1:50 PM
    I don't like a redundant parameter since that can only confuse people and raising an error ensures that when you raise it in metadata.json, you must drop (or adjust) it
  • a

    Alex Fisher

    11/02/2022, 1:50 PM
    Currently, the tool is invoked from here. https://github.com/voxpupuli/gha-puppet/blob/v1/.github/workflows/basic.yml
  • a

    Alex Fisher

    11/02/2022, 1:50 PM
    Currently, the tool is invoked from here. https://github.com/voxpupuli/gha-puppet/blob/v1/.github/workflows/basic.yml
  • v

    VoxBot

    11/02/2022, 1:50 PM
    so perhaps even when it's >= instead of >
  • a

    Alex Fisher

    11/02/2022, 1:51 PM
    I'm not sure who might use that but not use a recent voxpupuli-test gem
  • v

    VoxBot

    11/02/2022, 1:51 PM
    right, so you'd probably define an input on the job that gets translated to something (env var, parameter) and then in the "caller" you pass the input
  • v

    VoxBot

    11/02/2022, 1:52 PM
    https://github.com/voxpupuli/gha-puppet#basic-tests similar to how we can pass the rubocop: false part there
  • a

    Alex Fisher

    11/02/2022, 2:06 PM
    Thanks. I'll see what I can come up with and then decide whether it's worth the hassle! 🙂
  • a

    Alex Fisher

    11/02/2022, 3:09 PM
    ewoud: My attempt so far is nasty... passing 'minimum_puppet_version' around everywhere starting here https://github.com/voxpupuli/puppet_metadata/blob/master/lib/puppet_metadata/github_actions.rb#L11
  • a

    Alex Fisher

    11/02/2022, 3:10 PM
    ewoud: My attempt so far is nasty... passing 'minimum_puppet_version' around everywhere starting here https://github.com/voxpupuli/puppet_metadata/blob/master/lib/puppet_metadata/github_actions.rb#L11
  • a

    Alex Fisher

    11/02/2022, 3:11 PM
    I never am too sure when to use instance variables instead. Maybe here?
  • v

    VoxBot

    11/02/2022, 4:47 PM
    good question since it's one of the hard problems in engineering IMHO
  • v

    VoxBot

    11/02/2022, 4:48 PM
    at some point it may be easier to pass around an object with settings I guess
  • s

    smortex

    11/02/2022, 5:36 PM
    o/ @Alex Fisher @bastelfreak oh, I lost this release improvements from my field of view. Adding this to the things to sort out at $WORK
  • v

    VoxBot

    11/02/2022, 8:07 PM
    okay, so i'm trying to do a full mesh setup with puppet-wireguard, and it's breaking my brain
  • d

    Dr Bunsen Honeydew

    11/02/2022, 8:07 PM
    See the
    puppet-wireguard
    module at https://forge.puppet.com/puppet/wireguard?src=slack&channel=voxpupuli
  • v

    VoxBot

    11/02/2022, 8:07 PM
    i'm trying to use exported resources to have each peer talk to each other, but then i can't figure out how to extract the right public key
  • v

    VoxBot

    11/02/2022, 8:08 PM
    ... since i don't know the name of the tunnel, because i don't know who i'm peering with
  • v

    VoxBot

    11/02/2022, 8:10 PM
    bastelfreak: how do you configure your wireguard tunnels? manually, for each point to point link?
  • v

    VoxBot

    11/02/2022, 8:11 PM
    my "problem" is that all my peers are not controlled by my Puppet
  • v

    VoxBot

    11/02/2022, 8:11 PM
    so I cannot use exported resources
1...176177178...648Latest