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

    VoxBot

    10/24/2022, 1:50 PM
    that would work form most things, except that the puppet.service.d/*.conf files wouldn't work
  • v

    VoxBot

    10/24/2022, 1:50 PM
    hmm
  • v

    VoxBot

    10/24/2022, 1:50 PM
    it sort of recognizes them, but never loads them
  • v

    VoxBot

    10/24/2022, 1:50 PM
    fun
  • v

    VoxBot

    10/24/2022, 1:51 PM
    yes, took me a while to figure out when we used rh-postgresql12-postgresql.service with an alias to postgresql.service
  • v

    VoxBot

    10/24/2022, 1:52 PM
    anarcat: so how would I add the ~bpo suffix? is that just something in the changelog?
  • v

    VoxBot

    10/24/2022, 1:53 PM
    ewoud: yes, the version comes from the debian/changelog
  • v

    VoxBot

    10/24/2022, 1:53 PM
    ewoud: there's many ways to do this; you can edit the file by hand, for example, but the easier is probably by calling the
    dch --bpo
    command (from the devscripts package)
  • v

    VoxBot

    10/24/2022, 1:54 PM
    I still find it confusing how many different ways Debian packaging has
  • v

    VoxBot

    10/24/2022, 1:54 PM
    yes :( I gave up on that long ago
  • v

    VoxBot

    10/24/2022, 1:57 PM
    ewoud: it's an old system
  • v

    VoxBot

    10/24/2022, 2:27 PM
    o/
  • v

    VoxBot

    10/24/2022, 2:49 PM
    dhollinger: o/
  • v

    VoxBot

    10/24/2022, 3:15 PM
    can I get a review for https://github.com/voxpupuli/puppet-nftables/pull/152 ?
  • v

    VoxBot

    10/24/2022, 3:21 PM
    o/
  • v

    VoxBot

    10/24/2022, 3:23 PM
    jra___: o/
  • v

    VoxBot

    10/24/2022, 8:21 PM
    Hello! I'm trying to test code from a manifest that has a data type Sensitive[Stdlib::Base64]. puppet-rspec fails with foo " expects a Sensitive[Stdlib::Base64] value, got String" and I'm not sure how I'm supposed to pass this sensitive variable in the rspec code... Any idea?
  • v

    VoxBot

    10/24/2022, 8:22 PM
    atm I'm just passing the value in rspec with something like "foo => 'some base64 hash'"
  • v

    VoxBot

    10/24/2022, 8:27 PM
    mhm, you need to pass it as Sensitive
  • v

    VoxBot

    10/24/2022, 8:27 PM
    but how does that work in rpsec
  • v

    VoxBot

    10/24/2022, 8:28 PM
    I see a lot of the voxpupuli code uses "Variant[String, Sensitive[String]]"
  • v

    VoxBot

    10/24/2022, 8:28 PM
    yes, we usually allow both input types
  • v

    VoxBot

    10/24/2022, 8:28 PM
    and then probably only mock strings
  • v

    VoxBot

    10/24/2022, 8:28 PM
    https://rspec-puppet.com/changelog/
  • v

    VoxBot

    10/24/2022, 8:29 PM
    that would probably fix my issue. sensitive in rspec is somewhat new (2.8.0) and isn't really well documented
  • v

    VoxBot

    10/24/2022, 8:29 PM
    that's the latest, but still quite old release
  • v

    VoxBot

    10/24/2022, 8:35 PM
    oh, silly me, I was trying
    foo => Sensitive('some base64 hash')
    when I needed
    foo => sensitive('some base64 hash')
  • v

    VoxBot

    10/24/2022, 8:35 PM
    so sensitive
  • v

    VoxBot

    10/24/2022, 8:35 PM
    not a fan of rspec in general :P
  • v

    VoxBot

    10/24/2022, 8:36 PM
    you need to get used to it :D
1...165166167...648Latest