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

    Slackbot

    09/01/2022, 8:09 AM
    This message was deleted.
    ๐Ÿ‘ 1
    j
    • 2
    • 1
  • t

    towo

    09/01/2022, 8:10 AM
    Yeah, but smortex is right in thinking that this should be unit-tested. He even gave me a stub, but that only worked with modifications up until the point I wanted to change the initial parameters. ๐Ÿ˜‰
  • t

    towo

    09/01/2022, 8:11 AM
    The thing is that the overlay spec doesn't test
    described_class
    , just the provider instance it made itself, not sure if that's the right approach
  • v

    VoxBot

    09/01/2022, 8:14 AM
    if you ask ewoud nicely, he might take a look
  • t

    towo

    09/01/2022, 8:15 AM
    Well, I've just arrived in the advanced rubber duck programming stage aka whining about it in chat and maybe noticing something in the process
  • t

    towo

    09/01/2022, 8:15 AM
    Let's see where that takes us
  • z

    zipkid

    09/01/2022, 9:50 AM
    https://github.com/voxpupuli/puppet-jenkins/pull/1050
  • z

    zipkid

    09/01/2022, 9:50 AM
    https://github.com/voxpupuli/puppet-jenkins/pull/1050
  • j

    jhoblitt

    09/01/2022, 12:53 PM
    Are you using systemd::network to configure entire files?
  • v

    VoxBot

    09/01/2022, 1:10 PM
    the unit vs acceptance test is always a hard one to balance
  • v

    VoxBot

    09/01/2022, 1:11 PM
    unit tests can be much faster, but you always have to question what you're really testing
  • v

    VoxBot

    09/01/2022, 1:12 PM
    for example, if you want to verify a template renders correctly given a certain input, unit testing is typically good enough and much faster
  • v

    VoxBot

    09/01/2022, 1:12 PM
    but it doesn't guarantee that a service would actually behave the way it should
  • j

    jhoblitt

    09/01/2022, 1:12 PM
    @Pat Riehecky I just came across https://bugzilla.redhat.com/show_bug.cgi?id=2020254 . What did you end up doing?
  • p

    Pat Riehecky

    09/01/2022, 1:14 PM
    I've ended up with NetworkManager for now, but I'm planning to make the switch to systemd-networkd "at some point"
  • j

    jhoblitt

    09/01/2022, 1:15 PM
    I just discovered that there are ifup/down scripts in an NM package which isn't installed by default for some reason, that will help.
  • j

    jhoblitt

    09/01/2022, 1:16 PM
    but in general, NM causes me grief. I have a rhel7 box that the physical interfaces occasionally flap on and NM gets out of sync with reality. Right now at this very moment there is a vlan interface which is up and passing traffic and NM insists that it is down.
  • p

    Pat Riehecky

    09/01/2022, 1:18 PM
    if you're able to jump directly to systemd-networkd, I'd go with it
  • s

    Slackbot

    09/01/2022, 1:18 PM
    This message was deleted.
    j
    p
    • 3
    • 5
  • j

    jhoblitt

    09/01/2022, 2:02 PM
    I turned this up but haven't tried it. https://github.com/redhat-plumbers
  • s

    Slackbot

    09/01/2022, 4:02 PM
    This message was deleted.
    j
    d
    +4
    • 7
    • 21
  • s

    silug

    09/01/2022, 4:02 PM
    i'm doing exactly that on el9. it's not the greatest answer, but it definitely works.
  • j

    jhoblitt

    09/01/2022, 4:42 PM
    I contributed to
    puppet/network
    long before it was donated to voxpupuli. I am very familar with it.
  • j

    jhoblitt

    09/01/2022, 4:42 PM
    I contributed to
    puppet/network
    long before it was donated to voxpupuli. I am very familiar with it.
  • s

    Slackbot

    09/01/2022, 8:00 PM
    This message was deleted.
    y
    b
    • 3
    • 3
  • s

    Slackbot

    09/04/2022, 2:06 AM
    This message was deleted.
    h
    • 2
    • 1
  • s

    Slackbot

    09/07/2022, 8:30 AM
    This message was deleted.
    b
    s
    • 3
    • 31
  • s

    sameer

    09/07/2022, 8:33 AM
    Hello, I am looking for a puppet module for pki server. This should automatically install a pki server on agent node after the module is created in Puppet master. If you have any documentation where it provide details step by step would help better.
  • v

    VoxBot

    09/07/2022, 11:29 AM
    https://github.com/voxpupuli/voxpupuli.github.io/pull/268 I updated our styleguide to clarify the usage of puppet/systemd. I think we agreed on that ages ago, but never wrote it down
  • v

    VoxBot

    09/07/2022, 2:31 PM
    o/
1...138139140...648Latest