https://www.puppet.com/community logo
Join Slack
Powered by
# office-hours
  • d

    Dunatotatos

    07/18/2023, 5:29 PM
    Hi, I write a custom provider as SimpleProvider. What is the recommended way to execute a command and still be able to mock it for unit testing? I currently use Facter:Core:Execution but it feels wrong.
  • d

    Dunatotatos

    07/18/2023, 5:30 PM
    Also, how can I
    confine
    a SimpleProvider? I'm looking for the equivalent of
    command:
    and
    confine:
    of a low-level implementation.
  • j

    josh

    07/18/2023, 5:32 PM
    I'm not sure about that. I'd probably look at what other resource-api based modules are doing
  • d

    Dunatotatos

    07/18/2023, 5:39 PM
    Unfortunately, I cannot find many implementations with SimpleProvider, and none of them seem to have any reference to a
    confine
    . For the execution, https://github.com/voxpupuli/puppet-firewalld/blob/master/lib/puppet/provider/firewalld.rb#L46 suggests using Puppet:Provider:Command which I will try right now.
  • d

    Dr Bunsen Honeydew

    07/18/2023, 6:02 PM
    meeting Next up is Content and Tooling in 164 hours
  • j

    josh

    07/18/2023, 6:14 PM
    Ok folks that's a wrap, see you next time!
  • d

    Dr Bunsen Honeydew

    07/25/2023, 1:45 PM
    businessparrot Content and Tooling is about to start up in 15 minutes
    πŸ‘‹ 1
  • g

    Gavin Patton

    07/25/2023, 1:59 PM
    hey πŸ‘‹ our office hours start now. Send us any questions you have
    πŸ‘‹πŸ» 1
  • j

    Jordan Breen

    07/25/2023, 1:59 PM
    πŸ‘‹
  • b

    bastelfreak

    07/25/2023, 2:01 PM
    o/
  • s

    Slackbot

    07/25/2023, 2:01 PM
    This message was deleted.
    g
    b
    +3
    • 6
    • 12
  • d

    Dr Bunsen Honeydew

    07/25/2023, 2:01 PM
    See the
    puppetlabs-influxdb
    module at https://forge.puppet.com/puppetlabs/influxdb?src=slack&channel=office-hours
  • d

    Dr Bunsen Honeydew

    07/25/2023, 3:02 PM
    the more you know Next up is πŸ§‘β€πŸ« Bolt in 7 hours
  • g

    Gavin Patton

    07/25/2023, 3:02 PM
    that's it for the CAT team. See you next week πŸ™‚
  • s

    Slackbot

    07/25/2023, 4:21 PM
    This message was deleted.
    v
    y
    • 3
    • 3
  • d

    Dr Bunsen Honeydew

    07/25/2023, 9:45 PM
    fry dancing πŸ§‘β€πŸ« Bolt is about to start up in 15 minutes
  • s

    Slackbot

    07/25/2023, 10:07 PM
    This message was deleted.
    b
    • 2
    • 1
  • s

    Slackbot

    07/25/2023, 10:08 PM
    This message was deleted.
    b
    v
    • 3
    • 6
  • b

    binford2k

    07/25/2023, 10:42 PM
    The Content and Tooling office hour has been adjusted. It will now alternate weekly between focusing on modules and on tooling, and between two different time zones for better coverage.
    ❀️ 1
  • d

    Dr Bunsen Honeydew

    07/25/2023, 11:02 PM
    meeting Next up is πŸ§‘β€πŸ«Puppet Forge in 43 hours
  • d

    Dr Bunsen Honeydew

    07/27/2023, 5:45 PM
    β˜• πŸ§‘β€πŸ«Puppet Forge is about to start up in 15 minutes
  • b

    binford2k

    07/27/2023, 6:14 PM
    oh hello waveboi
  • s

    smortex

    07/27/2023, 6:32 PM
    Hey! The forge validation API checks compatibility with Puppet 6 & 7. I guess this will be updated to check for 7 & 8 (is this on the roadmap)?
  • s

    smortex

    07/27/2023, 6:33 PM
    Related questions, are their plans to make legacy modules that had no update in years less visible in search results ? (I can't recall what I searched some times ago and the first result where not the most relevant).
  • b

    binford2k

    07/27/2023, 6:34 PM
    yes and yes
  • b

    binford2k

    07/27/2023, 6:34 PM
    we have quite a few plans around that, but they aren't concrete yet so I can't give you a roadmap
  • b

    binford2k

    07/27/2023, 6:35 PM
    in general, we want to deprioritize, or maybe even remove content that is no longer useful
    πŸ‘πŸ» 1
    πŸ‘ 1
  • b

    binford2k

    07/27/2023, 6:35 PM
    then we have several tools and algorithms for ranking quality
  • b

    binford2k

    07/27/2023, 6:36 PM
    for example, my denmark project looks for project/repo smells that might indicate something like an abandoned project and can surface those
  • b

    binford2k

    07/27/2023, 6:38 PM
    here's a question for you actually...
1...676869...78Latest