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

    Yury Bushmelev

    04/10/2023, 2:35 PM
    just curious if this value is exposed anywhere.. so it’s possible to setup a systemd timer to implement the expiration then 🙂
  • l

    Les Shiner

    04/10/2023, 3:25 PM
    using wild cards in puppetserver ca clean --certname? doesn't seem possible right
  • s

    Slackbot

    04/10/2023, 3:26 PM
    This message was deleted.
    y
    l
    +3
    • 6
    • 25
  • s

    Scott Macmillan

    04/10/2023, 3:27 PM
    @Yury Bushmelev @vchepkov Thanks!
  • s

    smortex

    04/10/2023, 6:40 PM
    And a single revocation call?
    puppetserver ca clean --certname $(puppetserver ca list --format json --all | jq -r '.signed | .[] .name' | tr '\n' ',')
  • s

    smortex

    04/10/2023, 6:42 PM
    And a single revocation call?
    puppetserver ca clean --certname $(puppetserver ca list --format json --all | jq -r '.signed | .[] .name' | magic-filterning-command | tr '\n' ',')
  • s

    smortex

    04/10/2023, 6:43 PM
    And a single revocation call?
    puppetserver ca clean --certname $(puppetserver ca list --format json --all | jq -r '.signed | .[] .name' | ... | tr '\n' ',')
  • s

    smortex

    04/10/2023, 6:49 PM
    puppetserver ca list --format json
    FTW
  • s

    Slackbot

    04/10/2023, 8:50 PM
    This message was deleted.
    s
    d
    • 3
    • 4
  • g

    gary

    04/10/2023, 9:05 PM
    anyone see any modules to manage the yaml config for google-cloud-ops-agent?
  • d

    Dr Bunsen Honeydew

    04/10/2023, 9:05 PM
    See the
    google-cloud
    module at https://forge.puppet.com/google/cloud?src=slack&channel=puppet
  • m

    Marcel Fuhrmann

    04/11/2023, 12:50 PM
    Hey! I am getting warnings like
    WARN	 -> Puppet Forge module 'puppetlabs-translate' has been deprecated, visit <https://forge.puppet.com/puppetlabs/translate> for more information.
    Now I have two questions: 1. I am wondering why there is no follow up module. Any suggestions? 2. How can I figure out if this module is really used in my invironment? I tend to just remove it 😂
  • s

    Slackbot

    04/11/2023, 12:50 PM
    This message was deleted.
    👎 1
    d
    • 2
    • 2
  • s

    Slackbot

    04/11/2023, 1:01 PM
    This message was deleted.
    m
    r
    +2
    • 5
    • 5
  • r

    RyChannel

    04/11/2023, 1:01 PM
    So if a run takes 2 minutes... and a run starts at 9:30, is the next run at 10:00 or 10:02?
  • y

    Yury Bushmelev

    04/11/2023, 1:04 PM
    not sure how puppet agent acts when started as a daemon as I’m usually run it from a systemd timer.. so it starts as defined in OnCalendar there + Delays + splay (if any)
  • y

    Yury Bushmelev

    04/11/2023, 1:05 PM
    but tbh, I see no reason why this might be important.. once per 30 min is long enough
  • y

    Yury Bushmelev

    04/11/2023, 1:05 PM
    if you need it in time then you should kick it with some orchestration tool (bolt/choria)
  • y

    Yury Bushmelev

    04/11/2023, 1:06 PM
    otherwise.. ±30 min doesn’t really matter when managing thousands of servers
  • r

    ripienaar

    04/11/2023, 1:15 PM
    and if you really care you can cron puppet - which you should probably do anyway
  • b

    bastelfreak

    04/11/2023, 1:16 PM
    systemd timer > cron 😛
    💯 2
  • s

    Slackbot

    04/11/2023, 1:18 PM
    This message was deleted.
    r
    • 2
    • 1
  • m

    Marcel Fuhrmann

    04/11/2023, 1:18 PM
    https://forge.puppet.com/modules/puppet/cron/readme
  • d

    David Goldsmith

    04/11/2023, 1:18 PM
    For larger deployments, running Puppet agent as a daemon with the splay option set may be better to help distribute load of agents hitting the server over time. If using cron/systemd-timer, its going to be up to you to keep track of how many you stack oat concurrent times if concerned about spreading the load across the hour
  • m

    Marcel Fuhrmann

    04/11/2023, 1:18 PM
    But tbh I would not schedule Puppet agent using cron
  • s

    Slackbot

    04/11/2023, 1:22 PM
    This message was deleted.
    y
    b
    • 3
    • 12
  • d

    Dr Bunsen Honeydew

    04/11/2023, 1:45 PM
    allthethings 🧑‍🏫 Bolt is about to start up in #CFD8Z9A4T
  • b

    Brian Schonecker

    04/11/2023, 1:46 PM
    There's a docker plugin that looks interesting but it's pretty old.
  • s

    Slackbot

    04/11/2023, 2:11 PM
    This message was deleted.
    j
    b
    d
    • 4
    • 4
  • r

    RyChannel

    04/11/2023, 2:12 PM
    I like that my question got read in to a lot, I was just asking a general question. lol I had been assuming tha the agent's '30 minutes' restarted at the end of a run, I was clearly wrong when looking at the console. We had a bunch of VMs patch at the same time and reboot, so Puppet was running at very similar times on a lot of servers. Another engineer was complaining about CPU usage in a cluster and with my previous incorrect assumption I figured the issue was going to sort it self out after a few agent runs since the Puppet run times vary a lot on those servers.
1...344345346...428Latest