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

    Slackbot

    05/20/2023, 10:11 AM
    This message was deleted.
    y
    • 2
    • 1
  • s

    Slackbot

    05/20/2023, 4:06 PM
    This message was deleted.
    h
    a
    +2
    • 5
    • 11
  • e

    emerson_prado

    05/21/2023, 8:29 PM
    Hi all! I'm implementing dnf module support in Puppet and, after a long talk in #C0W1Y5VL0, there seems to be 3 possible homes for the code: 1. package resource dnfmodule provider. It already has some dnf module support, but focused in the packages, not modules (since it's 'package' resource anyway). I could just extend dnfmodule provider functionality, but making package resource manage dnf modules (as opposed to packages only) always sounds abusive to me. 2. yum Forge module. Since dnf is the "new yum", yum module supporting dnf stuff makes sense to me. 3. A new dnf module. Probably overkill, but could be an option if there's any intention inside Puppet of splitting yum and dnf. Could you pls help me decide the way to go? The implementation itself is almost done (not that hard indeed) - I just want to publish that in the right place. Thanks!
  • s

    Slackbot

    05/22/2023, 4:13 AM
    This message was deleted.
    👍 1
    g
    • 2
    • 1
  • r

    rusty

    05/22/2023, 4:02 PM
    on puppet 4, the certregen module appears to not be usable
  • r

    rusty

    05/22/2023, 4:02 PM
    any suggestions for regenerating the CA (with the same key)
  • s

    spp

    05/22/2023, 4:07 PM
    Upgrade to Puppet 7 or 8. You're a decade out of date.
  • r

    rusty

    05/22/2023, 4:10 PM
    not helpful
  • c

    csharpsteen

    05/22/2023, 4:11 PM
    The overwhelming majority of work that has been done to automate regenerating the CA certificate started in the Puppet 6 timeframe.
  • s

    Slackbot

    05/22/2023, 4:12 PM
    This message was deleted.
    r
    c
    d
    • 4
    • 12
  • s

    Slackbot

    05/22/2023, 4:18 PM
    This message was deleted.
    y
    s
    • 3
    • 4
  • s

    Slackbot

    05/22/2023, 4:30 PM
    This message was deleted.
    r
    d
    • 3
    • 4
  • b

    bastelfreak

    05/22/2023, 4:30 PM
    I don't recommend that, but since it's Puppet 4 anyways...
  • l

    Lumiere

    05/22/2023, 4:39 PM
    if it's already expired, you'll have to regenerate the cert and reconnect all the devices
  • s

    Slackbot

    05/22/2023, 6:05 PM
    This message was deleted.
    b
    b
    v
    • 4
    • 17
  • s

    Slackbot

    05/22/2023, 8:28 PM
    This message was deleted.
    c
    b
    +2
    • 5
    • 10
  • v

    vchepkov

    05/22/2023, 8:35 PM
    check #C0W1Y5VL0
  • t

    thedonkdonk

    05/22/2023, 8:39 PM
    Anyone have ideas managing mounts with windows clients? Specifically Samba and NFS network mounts.
  • v

    vchepkov

    05/22/2023, 8:42 PM
    windows can do nfs mounts? now I lived to see everything 🤯
  • v

    vchepkov

    05/22/2023, 8:45 PM
    former colleague of mine wrote karmafeast/windows_smb
  • d

    Dr Bunsen Honeydew

    05/22/2023, 8:45 PM
    See the
    karmafeast-windows_smb
    module at https://forge.puppet.com/karmafeast/windows_smb?src=slack&channel=puppet
  • s

    Slackbot

    05/23/2023, 12:46 PM
    This message was deleted.
    b
    • 2
    • 2
  • v

    vchepkov

    05/23/2023, 1:04 PM
    My r10k failed this morning too. I bet forge or github had issues
  • d

    Dr Bunsen Honeydew

    05/23/2023, 1:45 PM
    the more you know Content and Tooling is about to start up in #CFD8Z9A4T
  • d

    David

    05/23/2023, 2:49 PM
    hello again 🙂 I'm fighting again with some crap code written in puppet 3 and I'm unable to get it to work on 7.
    Copy code
    code
    
      $application_version      = $::application::application_version
      $application_core_version = lookup("application::application_${application_version}_package_version", {'default_value' => '1.0.1.1-1101'})
      $application_libs_version = lookup("application::application_${application_version}_libs_package_version", {'default_value' => '1.0.1-1'})
    
    yaml
    
    application::application_version: '2.0.2.2'
    application::application_2.0.2.2_package_version: 2.0.2.2-2222
    application::application_2.0.2.2_libs_package_version: 2.0.2-2
    The issue is that the lookup in hiera doesn't work and always gives me the default values for $application_core_version and $application_libs_version I've added a notify to check the variables for application_version and that returns the correct value. Any ideas??
  • h

    helindbe

    05/23/2023, 2:51 PM
    Drop the leading :: in the key in your call to lookup - does that help?
  • d

    David

    05/23/2023, 2:52 PM
    no it doesn't sorry, that's a mistake, in my copy
  • h

    helindbe

    05/23/2023, 2:54 PM
    All periods in the key must be “escaped” since a period is taken as drill down into the data.
  • h

    helindbe

    05/23/2023, 2:55 PM
    If the key is “a.1.2”, use the string “a’1.2’” as inout to lookup.
  • h

    helindbe

    05/23/2023, 2:55 PM
    Or ‘a”1.2”’
1...364365366...428Latest