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

    VoxBot

    08/10/2022, 2:10 PM
    doesn't Puppetlabs want that?
  • s

    Slackbot

    08/10/2022, 2:10 PM
    This message was deleted.
    o
    • 2
    • 1
  • o

    op-ct

    08/10/2022, 2:25 PM
    They do: https://puppetlabs.github.io/community_management/adoptable_modules.html I'm following the Adopting a "puppetlabs" module process, where we have to fork our own version and put it on the Forge first. Then they review the module, deprecate their version from the Forge, and point to ours
  • o

    op-ct

    08/10/2022, 3:22 PM
    Thanks for the PR feedback, @bastelfreak and ewoud/ekohl! I've updated both PRs with the suggested changes.
  • o

    op-ct

    08/10/2022, 7:18 PM
    Is there a way to configure
    .sync.yml
    to make a module's`.github/workflows/ci.yml` run litmus instead of beaker acceptance tests? AFAICT, modulesync_config will set up GHA to run beaker tests (
    /beaker.yml@v1
    ) when it sees that a repo has files matching`spec/acceptance/*_spec.rb`—but in puppet-hocon, those files are actually for litmus, so it never runs the litmus tests and every job in the GHA beaker matrix fails.
  • o

    op-ct

    08/10/2022, 7:18 PM
    Is there a way to configure
    .sync.yml
    to make a module's`.github/workflows/ci.yml` run litmus instead of beaker acceptance tests? AFAICT, modulesync_config will set up GHA to run beaker tests (
    /beaker.yml@v1
    ) when it sees that a repo has files matching`spec/acceptance/*_spec.rb`—but in puppet-hocon, those files are actually for litmus, so it never runs the litmus tests and every job in the GHA beaker matrix fails.
  • b

    bastelfreak

    08/10/2022, 7:19 PM
    no. we do not support litmus. what you can do is set the ci.yml to unmanaged and write your own
  • b

    bastelfreak

    08/10/2022, 7:19 PM
    or use beaker :D
  • o

    op-ct

    08/10/2022, 7:28 PM
    I'll need to check how puppetlabs's CI ran the original tests (I don't support Litmus, either 😛)
  • m

    matt

    08/10/2022, 7:45 PM
    looking at the elasticsearch and elastic-stack modules that vox has took over from elastic, I'm trying to understand the 'version' parameter in the elasticsearch as it supports true or a number, but as elasticsearch/logstash/kibana are supposed to be the same versions anyway, I don't understand why elastic_stack::version is not the parameter used to control the version
  • m

    matt

    08/10/2022, 7:48 PM
    I initially set elastic_stack::version until I realised it wasn't actually doing anything on the elasticsearch module, when I looked it seemed elasticsearch module had it's own version parameter, but it does seem to use the elastic_stack module to actually configure the repo
  • m

    matt

    08/10/2022, 7:49 PM
    should I be setting this within elasticsearch or the elastic_stack, is it worth me looking at a change to the elastic module that defaults to elastic_stack version unless overrideen
  • m

    matt

    08/10/2022, 7:49 PM
    overridden
  • b

    bastelfreak

    08/10/2022, 7:54 PM
    I did say you should set both parameters in hiera to the same module
  • m

    matt

    08/10/2022, 7:54 PM
    my apologies, where did you say that,
  • m

    matt

    08/10/2022, 7:55 PM
    (this is the first time I've mentioned this, are you referencing a doc I've missed)
  • b

    bastelfreak

    08/10/2022, 7:59 PM
    ups, I just messed up the wording :D
  • m

    matt

    08/10/2022, 7:59 PM
    that's ok, my wording was scrappy
  • m

    matt

    08/10/2022, 8:15 PM
    as elastic_stack:version is a major version eg: 6,7,8 but elasticsearch:version is a specific version, is it acceptable to set them both to say a major version, and let the package manager dnf/apt just keep bumping the packages within that major version
  • b

    bastelfreak

    08/10/2022, 8:16 PM
    mhm I dont know how the repo setup works
  • m

    matt

    08/10/2022, 8:16 PM
    elastic_stack is pretty dumb it just does $URL/$version
  • m

    matt

    08/10/2022, 8:16 PM
    so $version is just the repo major version
  • m

    matt

    08/10/2022, 8:16 PM
    however elasticsearch:version you can do 7.13. for example
  • m

    matt

    08/10/2022, 8:17 PM
    I 'think' you can just do the major version in elasticsearch:version and that will work as the OS package manager will then just handle what the repo offers
  • j

    jhoblitt

    08/10/2022, 8:47 PM
    @ghoneycutt I have a co-worker that has run into https://github.com/ghoneycutt/puppet-module-hosts/pull/42 . That module needs some updates. Have you considered transferring it to voxpupuli? If you are willing to consider it, I will commit to updating the module.
  • j

    jhoblitt

    08/10/2022, 8:47 PM
    @ghoneycutt I have a co-worker that has run into https://github.com/ghoneycutt/puppet-module-hosts/pull/42 . That module needs some updates. Have you considered transferring it to voxpupuli? If you are willing to consider it, I will commit to updating the module.
  • s

    Slackbot

    08/10/2022, 8:50 PM
    This message was deleted.
    g
    j
    • 3
    • 2
  • s

    Slackbot

    08/10/2022, 10:18 PM
    This message was deleted.
    j
    • 2
    • 1
  • j

    jhoblitt

    08/10/2022, 10:18 PM
    RFC: https://github.com/voxpupuli/puppet-systemd/pull/292
  • v

    VoxBot

    08/10/2022, 10:20 PM
    I wonder if it doesn't belong in facter itself
1...123124125...648Latest