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

    VoxBot

    05/31/2023, 2:06 PM
    Still need to add acceptance tests, but everything else should be there
  • v

    VoxBot

    05/31/2023, 2:11 PM
    dhollinger: looks good to me
  • v

    VoxBot

    05/31/2023, 2:12 PM
    bastelfreak: I did have to pin the stdlib module for testing since the latest releases breaks a bunch of tests in the r10k module
  • v

    VoxBot

    05/31/2023, 2:25 PM
    ah yeah
  • v

    VoxBot

    05/31/2023, 2:45 PM
    Does anyone remember if there is a way limit beaker-rspec tests based on certain facts?
  • v

    VoxBot

    05/31/2023, 2:48 PM
    Also, need to update the data types in the go program for this: https://github.com/voxpupuli/webhook-go/pull/73
  • v

    VoxBot

    05/31/2023, 3:03 PM
    bastelfreak ewoud afisher binford2k and anyone else - could I get a review ^
  • v

    voxel

    05/31/2023, 7:33 PM
    @bastelfreak I fixed the module tests: https://github.com/voxpupuli/puppet-check_mk/pull/51
  • s

    Slackbot

    05/31/2023, 9:07 PM
    This message was deleted.
    v
    • 2
    • 2
  • v

    VoxBot

    06/01/2023, 8:29 AM
    When I have a
    define plugin()
    and that includes a "Plugin[$name] ~> Class['something']", is it guaranteed that defined(Plugin['the name']) is true when called inside the something class?
  • v

    VoxBot

    06/01/2023, 8:30 AM
    I haven't tested it, but I would assume so
  • v

    VoxBot

    06/01/2023, 8:31 AM
    but defined() is always ugly
  • v

    VoxBot

    06/01/2023, 8:32 AM
    yes, yes it is
  • v

    VoxBot

    06/01/2023, 8:35 AM
    the problem I am trying to solve is:
  • v

    VoxBot

    06/01/2023, 8:35 AM
    in theforeman/foreman we have a formula how many puma workers we want to deploy, based on the CPU/ram of the machine
  • d

    Dr Bunsen Honeydew

    06/01/2023, 8:35 AM
    See the
    theforeman-foreman
    module at https://forge.puppet.com/theforeman/foreman?src=slack&channel=voxpupuli
  • v

    VoxBot

    06/01/2023, 8:36 AM
    and it has a "reservation" for other services running on the box
  • v

    VoxBot

    06/01/2023, 8:36 AM
    but that reservation, today, is static
  • v

    VoxBot

    06/01/2023, 8:37 AM
    yet the deployments look very differently, especially if you compare a plain foreman to a foreman+katello deployment that pulls in pulpcore and candlepin services (which are hungry too)
  • v

    VoxBot

    06/01/2023, 8:37 AM
    (but you also could apply the thought to foreman with and without a puppetserver)
  • v

    VoxBot

    06/01/2023, 8:58 AM
    narf, if I only could do <| Plugin |>.each…
  • m

    Marty Ewings

    06/01/2023, 9:46 AM
    this good for merge? https://github.com/voxpupuli/puppet-telegraf/pull/206
  • v

    VoxBot

    06/01/2023, 9:50 AM
    .
  • b

    bastelfreak

    06/01/2023, 9:51 AM
    @Marty Ewings is it possible that telegraf::archive_install_dir doesn't contain the version and you cannot do telegraf upgrades now?
  • b

    bastelfreak

    06/01/2023, 9:52 AM
    an acceptance test would help here. we do that a lot in the prometheus module. install an older version and then try to upgrade it
  • m

    Marty Ewings

    06/01/2023, 9:58 AM
    its possible ill check, our acceptance test runs Installs tho https://github.com/puppetlabs/puppet_operational_dashboards/actions/runs/5073262295/jobs/9112094394
  • m

    Marty Ewings

    06/01/2023, 9:59 AM
    Copy code
    Notice: /Stage[main]/Telegraf::Install/Archive[/tmp/telegraf.tar.gz]/ensure: download archive from <https://dl.influxdata.com/telegraf/releases/telegraf-1.25.3_linux_amd64.tar.gz> to /tmp/telegraf.tar.gz and extracted in /opt/telegraf with cleanup
  • m

    Marty Ewings

    06/01/2023, 9:59 AM
    and its downloading it every time
  • m

    Marty Ewings

    06/01/2023, 9:59 AM
    Failure/Error: idempotent_apply(pp)
  • b

    bastelfreak

    06/01/2023, 10:00 AM
    would be good to have a test for that as well in the telegraf module đŸ˜„
1...498499500...642Latest