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

    emerson_prado

    08/13/2023, 6:33 PM
    Could find no vim package which is, at the same time, available and not installed in this many distros/versions. What about uninstalling
    vim-enhanced
    before the test? Does it defeat the purpose, or is overkill somehow?
  • y

    Yury Bushmelev

    08/13/2023, 7:26 PM
    I’d say test package should be explicitly uninstalled during the test env setup. There was something for this in beaker iirc
  • e

    emerson_prado

    08/13/2023, 7:39 PM
    @Yury Bushmelev Do you have a hint on where it should be? Absolute beginner in beaker here...
  • e

    emerson_prado

    08/13/2023, 8:16 PM
    Pls ignore. I must be using bundler wrong. BTW, I'm trying to setup a dedicated VM just for running the tests, and it seems the Gemfile lacks a boatload of gems. I'm manually installing gems to make it pass, and it seems to go forever. Should the Gemfile have absolutely all gems and their dependencies, recursively?
  • b

    bastelfreak

    08/13/2023, 8:57 PM
    I am quite sure that it contains all gems it directly needa
  • b

    bastelfreak

    08/13/2023, 8:57 PM
    the rest is pulled in recursivly
  • e

    emerson_prado

    08/13/2023, 9:24 PM
    Yea, I'll review my Ruby/Gem/Bundler installation. I'm trying to be as clean and light as possible, but may be lacking something.
  • b

    bastelfreak

    08/13/2023, 9:26 PM
    use ruby 2.7 or newer and run bundle install. you migut need gcc/make as some gems have c extensions
    šŸ‘ 1
  • e

    emerson_prado

    08/13/2023, 9:42 PM
    I think I'm almost done with the VM. But I'm completely done with my own patience for today. Will do a refresh tomorrow for a clean path to have it all set up without bloating. Thanks for all help!
  • v

    VoxBot

    08/14/2023, 8:04 AM
    can I get a review for https://github.com/voxpupuli/puppet-prometheus/pull/684
    āœ… 1
  • v

    VoxBot

    08/14/2023, 8:12 AM
    and https://github.com/voxpupuli/puppet-prometheus/pull/687 please
  • e

    emerson_prado

    08/14/2023, 4:59 PM
    Got a Docker test container done for puppet-yum module and ran some rake tests succesfully. But, when trying to run an acceptance test, I got a missing file:
    Copy code
    bundle exec rake spec SPEC=spec/acceptance/post_transaction_actions_spec.rb
    /usr/bin/ruby -I/usr/local/share/gems/gems/rspec-core-3.12.2/lib:/usr/local/share/gems/gems/rspec-support-3.12.1/lib /usr/local/share/gems/gems/rspec-core-3.12.2/exe/rspec spec/acceptance/post_transaction_actions_spec.rb
    /usr/share/gems/gems/beaker-rspec-8.1.0/lib/beaker-rspec/helpers/serverspec.rb:39: warning: already initialized constant Module::VALID_OPTIONS_KEYS
    /usr/share/gems/gems/specinfra-2.86.0/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
    
    beaker-hostgenerator was not able to use this value as input.
    Exiting with an Error.
    
    Hosts file 'spec/acceptance/nodesets/default.yml' does not exist.
    Trying as beaker-hostgenerator input.
    
    An error occurred while loading ./spec/acceptance/post_transaction_actions_spec.rb.
    Failure/Error: configure_beaker
    BeakerHostGenerator::Exceptions::InvalidNodeSpecError:
      Invalid node_info token: spec/acceptance/nodesets/default.yml
    There isn't indeed a nodesets directory in spec/acceptance . Should there be, or am I missing something?
  • d

    Dr Bunsen Honeydew

    08/14/2023, 4:59 PM
    See the
    puppet-yum
    module at https://forge.puppet.com/puppet/yum?src=slack&channel=voxpupuli
  • b

    bastelfreak

    08/14/2023, 5:23 PM
    yes you're missing something. In the past we copied a bunch of yaml files into every module, the node definition, now with beaker-hostgenerator we can generate them on the fly
  • b

    bastelfreak

    08/14/2023, 5:24 PM
    try
    BEAKER_setfile=oracle7-64
    or
    BEAKER_setfile=oraclelinux7-64
    as environment variable
    šŸ‘ 1
  • v

    VoxBot

    08/14/2023, 7:37 PM
    Can I get a review for https://github.com/voxpupuli/puppet-rundeck/pull/508
  • l

    Lumiere

    08/14/2023, 7:56 PM
    acceptance tests are failing for some reason @bastelfreak
  • b

    bastelfreak

    08/14/2023, 7:57 PM
    I think that's a bit random šŸ¤”
  • b

    bastelfreak

    08/14/2023, 7:57 PM
    some strange timing issues. They all passed when I restarted them
  • l

    Lumiere

    08/14/2023, 7:57 PM
    k, I'll approve šŸ™‚
  • l

    Lumiere

    08/14/2023, 7:58 PM
    or kenyon will get to it quietly
  • l

    Lumiere

    08/14/2023, 7:58 PM
    and you're merged already
  • v

    VoxBot

    08/14/2023, 9:23 PM
    anybody here that knows english quite well? https://github.com/voxpupuli/voxpupuli.github.io/pull/311
  • m

    Markus Zilch

    08/14/2023, 9:26 PM
    do you want someone to proofread? or what are your requirements? šŸ™‚
  • l

    Lumiere

    08/14/2023, 9:26 PM
    I think proofread and suggestions
  • l

    Lumiere

    08/14/2023, 9:27 PM
    @bastelfreak the big thing I'd do is get rid of the "this is our new blog" line pretty much globally, maybe once is fine, but in all the messages it's not so helpful
  • b

    bastelfreak

    08/14/2023, 9:27 PM
    okay
  • b

    bastelfreak

    08/14/2023, 9:27 PM
    @Markus Zilch yes basically
  • b

    bastelfreak

    08/14/2023, 9:28 PM
    would be nice to have support for tags
  • b

    bastelfreak

    08/14/2023, 9:28 PM
    do we have support for tags?
1...578579580...648Latest