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

    Sergei G.

    06/21/2023, 5:56 PM
    ah, i thought it was out already, or do you mean the docker image only?
  • b

    bastelfreak

    06/21/2023, 5:57 PM
    I think Puppet doesnt maintain that image anymore
  • s

    Sergei G.

    06/21/2023, 6:04 PM
    is there a reason that everyone but me is aware of 🙂 ?
  • k

    kenyon

    06/21/2023, 6:05 PM
    they stopped maintaining all docker images IIRC
  • k

    kenyon

    06/21/2023, 6:07 PM
    https://puppetcommunity.slack.com/archives/C0W298S9G/p1670963758094899
  • k

    kenyon

    06/21/2023, 6:08 PM
    so not all
  • y

    Yury Bushmelev

    06/21/2023, 6:19 PM
    I believe they will continue to maintain the docker images again at some point of time later.. but not in Q3 🙂
  • s

    Slackbot

    06/21/2023, 6:38 PM
    This message was deleted.
    s
    b
    +2
    • 5
    • 14
  • s

    Sergei G.

    06/21/2023, 6:57 PM
    @bastelfreak you mean publish the images somewhere in your space on dockerhub?
  • b

    bastelfreak

    06/21/2023, 6:58 PM
    yes
  • s

    Slackbot

    06/21/2023, 7:34 PM
    This message was deleted.
    b
    • 2
    • 1
  • s

    Slackbot

    06/21/2023, 8:07 PM
    This message was deleted.
    b
    • 2
    • 1
  • s

    Slackbot

    06/22/2023, 9:54 AM
    This message was deleted.
    h
    • 2
    • 3
  • s

    Slackbot

    06/22/2023, 10:44 AM
    This message was deleted.
    y
    j
    +5
    • 8
    • 132
  • s

    Slackbot

    06/22/2023, 4:24 PM
    This message was deleted.
    b
    k
    • 3
    • 15
  • k

    Ken

    06/22/2023, 4:29 PM
    puppet agents only pull down some difference - if you update your ssh login banner only, it should only pull that one thing down. Are you saying you cannot just change your login banner and see that one change, independently of,say, a new application config?
  • y

    Yury Bushmelev

    06/22/2023, 4:36 PM
    Hiera/ENC and profile parameters (“feature flags”) are your friends here
  • l

    Lumiere

    06/22/2023, 5:01 PM
    We've also made environments apps and basemodulepath infrastructure
  • l

    Lumiere

    06/22/2023, 5:02 PM
    so they can have parallel deployment pipelines
  • d

    David Sandilands

    06/22/2023, 5:39 PM
    OK shameless plug for my book which comes out on 28th and everyone loves a free quiz.... Puppet and Packt are giving away 3 physical copies of Puppet 8 for DevOps engineers if you can answer some Puppet trivia :-) https://docs.google.com/forms/d/e/1FAIpQLSd8f8XKJ1AZS8uOrSrT-ACDHnm1dYwstaDSY2_65KQCrb7slA/viewform
    💪🏻 1
    🦜 8
    👏 2
    💪 1
  • d

    Dr Bunsen Honeydew

    06/22/2023, 5:45 PM
    beaker 🧑‍🏫Puppet Forge is about to start up in #CFD8Z9A4T
  • o

    Oleksandr Lytvyn

    06/23/2023, 10:02 AM
    Hello, i have a question: how do you guys monitor that Puppet agent is running and doing it's job? From what i know there are two aspects: • service is not running (easy to handle in most monitoring software) • service is running, but agent is disabled via
    puppet agent --disable "Reason XYZ"
    For case when agent is disabled we've previously used "Monit" (service was running from root) which was checking last modification timestamp of the file
    /opt/puppetlabs/puppet/cache/state/last_run_report.yaml
    Copy code
    /etc/monit$ cat conf-enabled/puppetagent.monit 
    ### THIS FILE IS MANAGED BY PUPPET. ANY MANUAL CHANGES WILL GET OVERWRITTEN.
    check file last_puppet_run with path /opt/puppetlabs/puppet/cache/state/last_run_report.yaml
      if mtime older than 1440 minutes then exec "/etc/monit/conf-enabled/slack_bad.sh"
    We tried to try to replicate what Monit was doing in Zabbix and Prometheus node exporter, but because of the permissions of this file Zabbix and Prometheus node exporter are not able to check timestamp of this file
    Copy code
    ls -l /opt/puppetlabs/puppet/cache/state/last_run_report.yaml
    -rw-r----- 1 root root 284420 Jun 23 09:46 /opt/puppetlabs/puppet/cache/state/last_run_report.yaml
    What is the proper way to cover use case when agent is disabled? Thanks
  • m

    Markus Zilch

    06/23/2023, 10:06 AM
    I am using icinga to monitor my infrastructure and basically i wrote a small script with sudo privileges that does exactly what you are doing. it reads the timestamp of the last run and compares it to the current system time. if the difference is too big (arbitrary value we set) it returns with an exit code of 1 or 2 instead of 0. The icinga agent calls this locally
  • m

    Markus Zilch

    06/23/2023, 10:06 AM
    If this is the best practice, i dont know
  • b

    bastelfreak

    06/23/2023, 10:06 AM
    you can tell puppet to write the file into a different directory.
  • b

    bastelfreak

    06/23/2023, 10:07 AM
    and if puppet is running as service you can monitor the systemd unit. I think the node_exporter supports that by default
  • b

    bastelfreak

    06/23/2023, 10:08 AM
    you can also check for $(puppet config print agent_catalog_run_lockfile) and $(puppet config print agent_disabled_lockfile) to check if the agent is disabled / taking ages for a puppetrun
  • o

    Oleksandr Lytvyn

    06/23/2023, 10:21 AM
    Thanks, will take a look at these options
  • y

    Yury Bushmelev

    06/23/2023, 11:45 AM
    You can monitor if agent is disabled by checking the lock file presence. Should be easy to use node_exporter text collector or telegraf for this.
  • m

    Marty Ewings

    06/23/2023, 11:56 AM
    or there is this option https://support.puppet.com/hc/en-us/articles/360006717334
1...382383384...428Latest