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

    VoxBot

    10/25/2024, 11:49 AM
    and finally https://github.com/voxpupuli/voxpupuli-rubocop/pull/75
  • z

    zipkid

    10/25/2024, 12:06 PM
    @Robert Waffen Get lots of rest this weekend…. Next week we may try to add Foreman support to the container-puppetserver ❗ 😅 (if we get the time…)
    😅 1
  • b

    bastelfreak

    10/25/2024, 12:07 PM
    ah nice
  • r

    Robert Waffen

    10/25/2024, 12:08 PM
    I try to keep up then. But maybe @bastelfreak has to help. I’m no good with foreman 😅 maybe I learn a thing or two 🤔
  • z

    zipkid

    10/25/2024, 12:29 PM
    We have a setup on EC2, so we’ll probably try to reuse stuff from that.
  • v

    VoxBot

    10/25/2024, 12:39 PM
    rwaffen: the integration is in https://github.com/theforeman/puppet-puppetserver_foreman and I'd say it's rather small
  • v

    VoxBot

    10/25/2024, 12:39 PM
    many files in the repo, but lots of it is just boiler plate for a Puppet module
  • v

    VoxBot

    10/25/2024, 12:40 PM
    speaking of!
  • v

    VoxBot

    10/25/2024, 12:40 PM
    I already wrote https://github.com/theforeman/puppet-puppetserver_foreman/pull/24 to simplify the report processor a lot, like dropping Puppet report format version 0
  • v

    VoxBot

    10/25/2024, 12:41 PM
    https://github.com/theforeman/puppet-foreman_proxy/pull/848 started to integrate foreman into PE environments
  • v

    VoxBot

    10/25/2024, 12:43 PM
    oh interesting
  • v

    VoxBot

    10/25/2024, 2:41 PM
    Finally got through the release:prepare steps. I can't actually do the release, but https://github.com/voxpupuli/puppet-zabbix/pull/979 is running through the CI right now
  • v

    VoxBot

    10/25/2024, 2:50 PM
    Do any of y'all know of a good way to maintain devfiles and devcontainers for a module,and keep them relatively in sync? I'd like to support both, but would like to minimize overhead from that.
  • v

    VoxBot

    10/25/2024, 3:06 PM
    FriedBob: can't you do that with modulesync/pdk ?
  • v

    VoxBot

    10/25/2024, 3:22 PM
    bastelfreak: That won't generate them, will it? One uses json, and the other yaml. I'm wanting to generate both formats from a common dataset so that I can then use something like pdk or modulesync to place them in the repos
  • v

    VoxBot

    10/25/2024, 3:22 PM
    ah okay
  • v

    VoxBot

    10/25/2024, 3:22 PM
    yea
  • v

    VoxBot

    10/25/2024, 3:23 PM
    FriedBob: with modulesync you can use ERB so effectively you get full control of Ruby to read some common data source
  • v

    VoxBot

    10/25/2024, 3:25 PM
    I may have to go that route. I've found lots of compare and contrast type things, and why one might be better than the other, but nothing to really help with using both.
  • v

    VoxBot

    10/25/2024, 4:09 PM
    ewoud: do you know if it's supported in foreman to submit reports for unknown nodes / would foreman create those? Or do I need the upload-facts cron first to create the nodes?
  • v

    VoxBot

    10/25/2024, 4:09 PM
    bastelfreak: there's a setting (defaults to true) that unknown nodes will be created based on the facts
  • v

    VoxBot

    10/25/2024, 4:10 PM
    okay
  • v

    VoxBot

    10/25/2024, 4:12 PM
    do I need a timer that runs /etc/puppetlabs/puppet/node.rb --push-facts or can one of the modules configure that?
  • v

    VoxBot

    10/25/2024, 4:15 PM
    there's a watcher process if needed
  • v

    VoxBot

    10/25/2024, 4:15 PM
    --watch-facts uses inotify to read the fact files as they change
  • v

    VoxBot

    10/25/2024, 4:15 PM
    ah nice
  • v

    VoxBot

    10/25/2024, 4:17 PM
    I think I've seen puppet code for this in the past days
  • v

    VoxBot

    10/25/2024, 4:18 PM
    ah foreman module I think
  • v

    VoxBot

    10/25/2024, 4:18 PM
    the enc.rb file in https://github.com/theforeman/puppet-puppetserver_foreman is the source for node.rb
  • v

    VoxBot

    10/25/2024, 4:19 PM
    ah but it doesn't set up a systemd unit or similar?
1...604605606...648Latest