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

    cruelsmith

    02/24/2023, 6:56 PM
    Has someone from Voxpupuli the rights and time to do a review of https://github.com/puppetlabs/puppetlabs-postgresql/pull/1404 Thank you ❤️
  • c

    cruelsmith

    02/24/2023, 6:56 PM
    Has someone from Voxpupuli the rights and time to do a review of https://github.com/puppetlabs/puppetlabs-postgresql/pull/1404 Thank you ❤️
  • b

    bastelfreak

    02/24/2023, 6:57 PM
    @cruelsmith can you add a unit test for this?
    🤷 1
    👀 1
  • c

    cruelsmith

    02/24/2023, 7:07 PM
    @bastelfreak Two questions: 1. Is extending https://github.com/puppetlabs/puppetlabs-postgresql/blob/main/spec/classes/server_spec.rb#L204-L215 the right place? (Like adding one with Sensitive password) 2. How can i set a value als Sensitive in rspec?
  • c

    cruelsmith

    02/24/2023, 7:07 PM
    @bastelfreak Two questions: 1. Is extending https://github.com/puppetlabs/puppetlabs-postgresql/blob/main/spec/classes/server_spec.rb#L204-L215 the right place? (Like adding one with Sensitive password) 2. How can i set a value als Sensitive in rspec?
  • c

    cruelsmith

    02/24/2023, 7:12 PM
    Oh there is already a rspec test for it: https://github.com/puppetlabs/puppetlabs-postgresql/blob/main/spec/defines/server/role_spec.rb#L40-L62
  • c

    cruelsmith

    02/24/2023, 7:12 PM
    Oh there is already a rspec test for it: https://github.com/puppetlabs/puppetlabs-postgresql/blob/main/spec/defines/server/role_spec.rb#L40-L62
  • b

    bastelfreak

    02/24/2023, 8:00 PM
    @cruelsmith
    defines/server/role_spec.rb
    sounds good
  • c

    cruelsmith

    02/24/2023, 8:26 PM
    Out of knowledge here for a better way to verify if the password will be set in the right way. Currently we test for
    contain_postgresql_psql
    that will only see
    Sensitive [value redacted]
    anyway🤷
  • s

    smortex

    02/24/2023, 9:06 PM
    @cruelsmith
    .with(something: sensitive('value'))
    (just saw your PR, the test suite is a mess)
    🙇 1
    👍 1
  • s

    smortex

    02/24/2023, 9:08 PM
    When the value does not match, the generated text is a PITA :
    expected that the catalogue would contain Postgresql_psql[ALTER ROLE test ENCRYPTED PASSWORD **] with command set to Sensitive(/ALTER ROLE "test" ENCRYPTED PASSWORD 'n/) but it is set to #<Sensitive [value redacted]>
  • v

    VoxBot

    02/24/2023, 9:18 PM
    Hi, i would like to migrate a module to voxpopuli. Who is the right person to talk with?
  • v

    VoxBot

    02/24/2023, 9:21 PM
    o/
  • v

    VoxBot

    02/24/2023, 9:21 PM
    which module?
  • v

    VoxBot

    02/24/2023, 9:24 PM
    one for managing varnish
  • v

    VoxBot

    02/24/2023, 9:25 PM
    Is that currently on the forge? Do you want to keep maintaining it?
  • v

    VoxBot

    02/24/2023, 9:41 PM
    Started migration to the module
  • v

    VoxBot

    02/24/2023, 9:41 PM
    can I get a review on https://github.com/voxpupuli/voxpupuli.github.io/pull/278 ?
  • v

    VoxBot

    02/24/2023, 9:42 PM
    +1
  • v

    VoxBot

    02/24/2023, 9:47 PM
    https://github.com/voxpupuli/voxpupuli.github.io/pull/279 got another one
  • v

    VoxBot

    02/24/2023, 9:50 PM
    voxel: nice. please add the module to our modulesync config: https://github.com/voxpupuli/modulesync_config/blob/master/managed_modules.yml (that's the thing that applies templates to all of our modules)
  • v

    VoxBot

    02/24/2023, 9:56 PM
    voxel: can you sign your commit with a gpg key? that's a requirement we have for the modulesync_config an plumbing repo (I recommend signing all commits, but that's not required)
  • v

    VoxBot

    02/24/2023, 9:57 PM
    I'll add a gpg config on my side
  • v

    VoxBot

    02/24/2023, 9:58 PM
    \o/
  • v

    VoxBot

    02/24/2023, 9:58 PM
    nice
  • v

    VoxBot

    02/24/2023, 10:37 PM
    fixed now it is signed
  • v

    VoxBot

    02/24/2023, 11:09 PM
    not 100% sure if I did that correct.. I'm now stuck at "Execute modulesync for this module."
  • v

    VoxBot

    02/24/2023, 11:13 PM
    will join tomorrow again ... it's getting late ;)
  • v

    VoxBot

    02/24/2023, 11:15 PM
    o/
  • v

    VoxBot

    02/24/2023, 11:15 PM
    voxel: take a look at https://github.com/voxpupuli/modulesync_config#modulesync-configs
1...324325326...648Latest