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

    Slackbot

    05/12/2023, 4:38 AM
    This message was deleted.
    y
    • 2
    • 4
  • s

    Slackbot

    05/12/2023, 4:38 AM
    This message was deleted.
    m
    • 2
    • 1
  • v

    vchepkov

    05/12/2023, 12:23 PM
    You can't require and notify same resource at the same time Most likely you meant to notify service there, there is no point to notify a package
  • s

    Slackbot

    05/12/2023, 10:53 PM
    This message was deleted.
    k
    • 2
    • 1
  • s

    Slackbot

    05/13/2023, 11:40 AM
    This message was deleted.
    y
    • 2
    • 3
  • y

    Yury Bushmelev

    05/13/2023, 11:48 AM
    set the channel topic: Welcome! pup.pt/conduct | Flag a message for moderation with the moderator reaction | Tell us about something awesome: pup.pt/mvp | Logs: https://www.linen.dev/s/puppetcommunity/c/puppet Black Lives...
  • s

    Slackbot

    05/14/2023, 8:15 AM
    This message was deleted.
    y
    • 2
    • 1
  • s

    Slackbot

    05/14/2023, 9:52 AM
    This message was deleted.
    y
    c
    • 3
    • 2
  • d

    David

    05/15/2023, 7:47 AM
    Good morning puppet people. I have a query on format of code. What's the difference between these 2 lines of code?
    Copy code
    create_resources(Postgres::Instance, $instances, $instance_defaults)
    and
    Copy code
    create_resources(postgres::instance, $instances, $instance_defaults)
  • d

    David

    05/15/2023, 7:49 AM
    I can't find this in the puppet docs as to why they act differently
  • w

    Wim Korevaar

    05/15/2023, 9:45 AM
    The difference is capital P and I https://www.puppet.com/docs/puppet/8/lang_data_resource_reference.html The general form of a resource reference is: • The resource type, capitalized. If the resource type includes a namespace separator
    ::
    , then each segment must be capitalized.
  • y

    Yury Bushmelev

    05/15/2023, 9:47 AM
    I guess the question raised because the create_resources function example in docs has “user” type lowercased
  • y

    Yury Bushmelev

    05/15/2023, 9:48 AM
    https://www.puppet.com/docs/puppet/8/function.html#create-resources
  • l

    Les Shiner

    05/15/2023, 7:45 PM
    how to have a specific module run once every thirty days?
  • l

    Les Shiner

    05/15/2023, 7:46 PM
    if i'm listing the module in the environments puppetfile.. it will get run every time the agent checks in correct?
  • l

    Les Shiner

    05/15/2023, 7:47 PM
    but.. i only want it to run every x time
  • l

    Les Shiner

    05/15/2023, 7:50 PM
    specifically i'm generating a new ssh key every 30 days, rotating that with a puppet module.
  • h

    helindbe

    05/15/2023, 7:50 PM
    This is a bit strange as puppet is about maintaining a specified state per agent.
  • h

    helindbe

    05/15/2023, 7:53 PM
    You could do something like this by having conditional logic to include a class only if “time now” is for the first day of the month. Trying to do this on something like an “apply count” will be difficult.
  • h

    helindbe

    05/15/2023, 7:54 PM
    Another alternative is to have a custom fact that depends on “time / count”. Then conditionally include the logic based on that fact.
  • b

    bastelfreak

    05/15/2023, 7:55 PM
    yeah use a fact to report the key age and renew it if its too old
  • l

    Lumiere

    05/15/2023, 8:48 PM
    in fact I am pretty sure at least one of the ssh modules already reports it
  • l

    Lumiere

    05/15/2023, 8:48 PM
    I would also think about replacing ssh host key regeneration with an ssl ca that is centrally managed
  • l

    Lumiere

    05/15/2023, 8:49 PM
    so instead of needing to rotate those keys, you just ensure it's part of the ca
  • s

    Slackbot

    05/15/2023, 9:54 PM
    This message was deleted.
    e
    j
    • 3
    • 2
  • t

    thedonkdonk

    05/16/2023, 12:34 AM
    Anyone have ideas managing mounts with windows clients? Specifically Samba and NFS network mounts.
  • t

    thedonkdonk

    05/16/2023, 12:50 AM
    Unrelated, look like some copy/paste gone wild over here https://github.com/puppetlabs/puppetlabs-mount_core/blob/main/lib/puppet/provider/mount/parsed.rb#L19-L21. Easy bug to fix...
  • d

    Dr Bunsen Honeydew

    05/16/2023, 1:45 PM
    businessparrot Content and Tooling is about to start up in #CFD8Z9A4T
  • k

    Karla

    05/16/2023, 3:01 PM
    hello. If you're using OSP and want to share your experience and insights, I'd love to hear them. pls ping me 🙂
  • c

    CVQuesty

    05/16/2023, 3:08 PM
    In what regards, Karla. Most of us on this channel are OSP. PE is mostly in #C19V5U41Z
1...361362363...428Latest