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

    VoxBot

    05/12/2023, 1:14 PM
    https://github.com/voxpupuli/puppet-openssl/blob/master/lib/puppet/functions/cert_aia_caissuers.rb#L46 works for puppet6 but not puppet7; and I have no idea why :P
  • v

    VoxBot

    05/12/2023, 1:16 PM
    but is it really failing there, or on the "The code loaded from /home/runner/work/puppet-openssl/puppet-openssl/vendor/bundle/ruby/2.7.0/gems/puppet-7.24.0/lib/puppet/datatypes/error.rb does not seem to be a Puppet 5x API data type - no create_type call." thing?
  • v

    VoxBot

    05/12/2023, 1:20 PM
    Excellent question, just stumbled in there too. I will try to fix the later and see if the rescue stuff is still a problem or resolved too. I always forget that just because its marked as error in the CLI; it does not mean it necessarily is
  • v

    VoxBot

    05/12/2023, 1:44 PM
    pretty sure it's not the File.read, as the tests that are failing are https://github.com/voxpupuli/puppet-openssl/blob/master/spec/functions/cert_aia_caissuers_spec.rb#L26
  • v

    VoxBot

    05/12/2023, 1:44 PM
    not the ones above that pass an invalid file
  • v

    VoxBot

    05/12/2023, 2:16 PM
    zilchms, seems the allow(File).to receive(:read) is not working correctly
  • v

    VoxBot

    05/12/2023, 2:30 PM
    ok, the problem is that with the allow(File) we're breaking all file reads inside puppet -.-
  • v

    VoxBot

    05/12/2023, 2:33 PM
    yea xd the testsuite of the whole module seems a bit off
  • v

    VoxBot

    05/12/2023, 2:33 PM
    zilchms, https://github.com/voxpupuli/puppet-openssl/pull/162#issuecomment-1545842631
  • v

    VoxBot

    05/12/2023, 2:34 PM
    that makes tests pass here
  • v

    VoxBot

    05/12/2023, 2:34 PM
    i am currently looking into it if i can get it fixed up
  • v

    VoxBot

    05/12/2023, 2:34 PM
    oh thanks, didnt notice :D
  • v

    VoxBot

    05/12/2023, 2:40 PM
    did I mention I hate mocks?
  • l

    Lumiere

    05/12/2023, 2:41 PM
    I hate that mocks in rspec-puppet are entirely undocumented
  • v

    VoxBot

    05/12/2023, 2:41 PM
    ^ this
  • v

    VoxBot

    05/12/2023, 2:46 PM
    https://github.com/voxpupuli/puppet-openssl/pull/162 can i get a review?
  • v

    VoxBot

    05/12/2023, 2:51 PM
    doesn't look crazy to me :)
  • v

    VoxBot

    05/12/2023, 2:51 PM
    but my puppet functions knowledge is very limited
  • v

    VoxBot

    05/12/2023, 3:24 PM
    thanks for merging bastelfreak :) now the not-so-nice part: puppetforge releases; i think we need one release with the current master (where both 6 and 7 are supported) and then a major release where puppet6 support is droped
  • v

    VoxBot

    05/12/2023, 3:26 PM
    puppet 6 is already dropped on master
  • v

    VoxBot

    05/12/2023, 3:27 PM
    https://github.com/voxpupuli/puppet-openssl/blob/master/metadata.json
  • v

    VoxBot

    05/12/2023, 3:27 PM
    "requirements": [
  • v

    VoxBot

    05/12/2023, 3:27 PM
    {
  • v

    VoxBot

    05/12/2023, 3:27 PM
    "name": "puppet",
  • v

    VoxBot

    05/12/2023, 3:27 PM
    "version_requirement": ">= 6.1.0 < 8.0.0"
  • v

    VoxBot

    05/12/2023, 3:27 PM
    }
  • v

    VoxBot

    05/12/2023, 3:28 PM
    now i might see this wrong; but i dont think so?
  • v

    VoxBot

    05/12/2023, 6:10 PM
    oh my pr to drop puppet 6 wasnt merged yet
  • v

    VoxBot

    05/12/2023, 6:10 PM
    but I dont see why we should do a release just to support puppet 6
  • v

    VoxBot

    05/12/2023, 6:11 PM
    we already have to do a major release, so we could also drop puppet 6 IMO
1...475476477...642Latest