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

    VoxBot

    01/11/2023, 3:57 AM
    I have been busy lately, and see some CentOS 7 failures on non-vox projects that use the vox tooling: https://github.com/ccin2p3/puppet-patterndb/pull/30
  • v

    VoxBot

    01/11/2023, 3:57 AM
    https://github.com/ccin2p3/puppet-patterndb/actions/runs/3888933968/jobs/6636755067#step:4:206
  • v

    VoxBot

    01/11/2023, 3:58 AM
    (unable to ssh in SUT for acceptance tests)
  • v

    VoxBot

    01/11/2023, 3:58 AM
    Does this ring a bell?
  • v

    VoxBot

    01/11/2023, 6:38 AM
    smortex: caused by the new ubuntu 22. our latest action pins to ubuntu 20 runner
  • v

    VoxBot

    01/11/2023, 7:59 AM
    bastelfreak: o/ Thanks for the hint! I'll check it tomorow!
  • v

    VoxBot

    01/11/2023, 8:00 AM
    https://github.com/voxpupuli/gha-puppet/pull/21 you can directly use our shared action if you like
  • v

    VoxBot

    01/11/2023, 8:02 AM
    Awesome!
  • v

    VoxBot

    01/11/2023, 8:13 AM
    yes, I put a significant effort into that with the aim of reducing the effort to do those kind of patches over a ton of modules and I'd love it if they were widely used in the ecosystem
  • s

    Slackbot

    01/11/2023, 9:30 AM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    01/11/2023, 3:10 PM
    This message was deleted.
    p
    • 2
    • 1
  • b

    bastelfreak

    01/11/2023, 3:11 PM
    ah hi!
  • b

    bastelfreak

    01/11/2023, 3:12 PM
    when you need to hack on one of the modules, just create the PR with the puppet changes and we can walk together through the tests
  • b

    Brian Schonecker

    01/11/2023, 3:13 PM
    Hahaha....you replied to my contribution at puppet-puppetboard and I have not yet replied regarding my inexperience with tests.
  • b

    Brian Schonecker

    01/11/2023, 3:13 PM
    😉
  • b

    Brian Schonecker

    01/11/2023, 3:14 PM
    I'll try to put something together this week.
  • b

    bastelfreak

    01/11/2023, 3:15 PM
    awesome
  • s

    Slackbot

    01/11/2023, 3:19 PM
    This message was deleted.
    d
    l
    +2
    • 5
    • 10
  • d

    David Sandilands

    01/11/2023, 3:20 PM
    http://rspec-puppet.com , https://www.betterspecs.org/, https://relishapp.com/rspec/ are probably the best references and unhelpfully for now I have tried to write a big section on rspec in the Puppet book I'm working on with packt
  • v

    VoxBot

    01/11/2023, 3:36 PM
    I do think rspec has a lot of magic - some of it is good (I love nesting contexts to provide more specific params, effectively building up a scenario), some of it bad (it's hard to understand)
  • v

    VoxBot

    01/11/2023, 3:38 PM
    but I struggle to think of a better way
  • l

    Lumiere

    01/11/2023, 3:38 PM
    I love nesting contexts with loops, but I want some ways to control how that works (to allow quick base testing vs full testing)
  • v

    VoxBot

    01/11/2023, 3:39 PM
    yes, I'd also love to have more control over the fact sets we test on
  • v

    VoxBot

    01/11/2023, 3:39 PM
    like, testing on RHEL, CentOS, Rocky, Alma and who knows what else doesn't matter for most code
  • v

    VoxBot

    01/11/2023, 3:40 PM
    yet, in some code it does
  • v

    VoxBot

    01/11/2023, 3:44 PM
    I'd also like it if you could somehow assert a class doesn't use facts, but it quickly does because of providers
  • v

    VoxBot

    01/11/2023, 3:46 PM
    funny things happen if you don't provide some in the test suite, like https://github.com/puppetlabs/puppet/blob/736798e69a74601f4955f087a3c147c8a18e7542/lib/puppet/provider/service/init.rb#L24-L25 fails
  • v

    VoxBot

    01/11/2023, 3:46 PM
    Puppet.runtime[:facter].value(:operatingsystem) returns nil and then nil.downcase fails
  • v

    VoxBot

    01/11/2023, 3:47 PM
    it'd probably be much more reliable if they simply compared to Debian, Ubuntu and RedHat instead of downcase it
  • a

    Alex Fisher

    01/11/2023, 5:13 PM
    Is the person who ordered this list of log levels trying to trigger me on purpose? 😉 https://github.com/puppetlabs/pdksync#logging-output
    😂 1
1...238239240...648Latest