Skip to content

[Bug]: Forcfully enabling repository breaks install task on some systems #312

@widhalmt

Description

@widhalmt

Please try to fill out as much of the information below as you can. Thank you!

  • Yes, I've searched similar issues on GitHub and didn't find any.

Which version contains the bug?

No response

Describe the bug

We have a mandatory enable_repo in the Logstash RedHat installation task file. This is fine when you use the included repo role. But if you have e.g. RedHat Satellite to manage your repositories you might not have a repository with this exact name. So the install task breaks.

So either we make this task into two different ones or we remove the "enable_repo part and find another way to satisfy users who want to disable the repository in case they would accidentally update.

How to recreate the bug?

  • Rename Elastic Repository
  • Disable repos role
  • Run Logstash role with installation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions