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

    Mike Fröhner (crazymind1337)

    03/21/2023, 8:02 AM
    heyho dear humans - I have added a basic module for opensearch at https://github.com/voxpupuli/puppet-opensearch - it is really basic - and there are still some example missing - also the readme is still the one from pdk init.
  • y

    Yury Bushmelev

    03/21/2023, 8:09 AM
    Is it very different from the elasticsearch? Maybe it’s better to enhance the elasticsearch module with “flavours”?
  • m

    Mike Fröhner (crazymind1337)

    03/21/2023, 8:11 AM
    Do you mean enhancing the elasticsearch module?
  • m

    Mike Fröhner (crazymind1337)

    03/21/2023, 8:11 AM
    No no no no - never ! 😄
    😄 1
  • m

    matt

    03/21/2023, 6:31 PM
    the vox postfix module, it's been recently updated so looks well maintained, it doesn't seem to support TLS in the postfix configuration options, which seems a pretty big gap for a modern MTA, am I correct or have I missed it in the documentation
  • v

    VoxBot

    03/21/2023, 6:32 PM
    I don't use it myself, but if you missed it and it's there, then that's at least something worth of a PR :)
  • m

    matt

    03/21/2023, 6:32 PM
    if it's not there - it's worth a PR
  • m

    matt

    03/21/2023, 6:33 PM
    but going through it, I don't see anything that supports any of the config options needed, eg: certification name / location, listening port etc
  • v

    VoxBot

    03/21/2023, 6:33 PM
    I've never looked at the source myself, so you may be right - I just don't know :)
  • m

    matt

    03/21/2023, 6:34 PM
    it's only the fact that it feels a basic modern requirement for an MTA that's making me doubt it, it seems like such a big but basic function to overlook
  • v

    vchepkov

    03/21/2023, 6:37 PM
    I just add in a profile what's missing, it's mostly opinionated
    Copy code
    postfix::config {
        'smtp_use_tls':
          value => 'yes',
          ;
        'smtp_tls_CAfile':
          value => '/etc/ssl/certs/ca-bundle.crt',
          ;
      }
  • m

    matt

    03/21/2023, 6:37 PM
    how are you doing that ??
  • v

    vchepkov

    03/21/2023, 6:38 PM
    example above
  • m

    matt

    03/21/2023, 6:38 PM
    sorry, I mean they are not valid parameters
  • v

    vchepkov

    03/21/2023, 6:39 PM
    hmm. works for me
  • m

    matt

    03/21/2023, 6:39 PM
    ahhh I see it now
  • m

    matt

    03/21/2023, 6:39 PM
    so they are not valid configs, but you can pass in options are values
  • v

    vchepkov

    03/21/2023, 6:39 PM
    right, you can add configuration blocks
  • m

    matt

    03/21/2023, 6:40 PM
    so in theory you could do config { 'smelly_smell_smell': value => true ] and it would set a parameter called smelly_smell_smell
  • m

    matt

    03/21/2023, 6:40 PM
    I see how it's doing it now, that's simple and clever at the same time
  • m

    matt

    03/21/2023, 6:41 PM
    thank you, I'd not seen that as I was looking for the parameters and the template config too much
  • v

    vchepkov

    03/21/2023, 6:42 PM
    I agree with your though. having a postfix:profile:mta with standard configuration would be useful
  • m

    matt

    03/21/2023, 6:43 PM
    in your example could you pass in those parameters with hiera ?
  • m

    matt

    03/21/2023, 6:44 PM
    I'm assuming you could do something post postfix:configsmtp use tls true
  • v

    vchepkov

    03/21/2023, 6:44 PM
    you don't, you need a profile class that will translate those
  • m

    matt

    03/21/2023, 6:44 PM
    ahhhhhh so it needs the profile, ok the header in config.pp didn't say that,
  • v

    vchepkov

    03/21/2023, 6:44 PM
    let me check the code, I could be wrong
  • m

    matt

    03/21/2023, 6:45 PM
    no, I think you're right, looking at the examples they are all in a profile format
  • m

    matt

    03/21/2023, 6:45 PM
    that can't be an accident 😉
  • v

    vchepkov

    03/21/2023, 6:47 PM
    Nope you can -
    Copy code
    # @param configs
    #   A hash of postfix::config resources. The hash containing optional configuration values for <http://main.cf|main.cf>.
    #   The values are configured using postfix::config.
    #   Example: `{'message_size_limit': {'value': '51200000'}}`
    #
1...375376377...648Latest