Giter Club home page Giter Club logo

Comments (7)

tobias-urdin avatar tobias-urdin commented on September 25, 2024

On CentOS 8:
2020-05-29 10:52:28 +0000 /Stage[main]/Rabbitmq::Config/Systemd::Service_limits[rabbitmq-server.service]/Systemd::Dropin_file[rabbitmq-server.service-90-limits.conf]/File[/etc/systemd/system/rabbitmq-server.service.d]/seltype (notice): seltype changed 'rabbitmq_unit_file_t' to 'systemd_unit_file_t'

from puppet-rabbitmq.

tobias-urdin avatar tobias-urdin commented on September 25, 2024

Adding support for selinux_ignore_defaults to systemd module here [1].

[1] voxpupuli/puppet-systemd#151

from puppet-rabbitmq.

tobias-urdin avatar tobias-urdin commented on September 25, 2024

We can then edit this line [1] in this module and add the selinux_ignore_defaults parameter for the systemd::service_limits usage when handling RHEL based operating systems.

[1] https://github.com/voxpupuli/puppet-rabbitmq/blob/master/manifests/config.pp#L234

from puppet-rabbitmq.

adeleglise avatar adeleglise commented on September 25, 2024

Is it possible that this commit added a breaking change ?

I can observe this error when trying to use the module v11.0.0 on a Ubuntu 20.04 box:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Systemd::Service_limits[rabbitmq-server.service]: has no parameter named 'selinux_ignore_defaults' (file: /etc/puppetlabs/code/environments/staging/modules/rabbitmq/manifests/config.pp, line: 236) on node

from puppet-rabbitmq.

wyardley avatar wyardley commented on September 25, 2024

@adeleglise can you see if you have a version of the systemd module that’s in bounds of the lower bound that the module requests? Whether this new parameter being required should have been a breaking change I can’t say (I would lean towards no), but feel free to open a new issue if you see this error even with the updated version of the systemd module.

Sometimes, I’ve seen quirks with caching when using environments and multiple versions of the same module, so may want to see if you have other modules that also require puppet-systemd

from puppet-rabbitmq.

tobias-urdin avatar tobias-urdin commented on September 25, 2024

Verify that you have the proper puppet-systemd module.

    {
      "name": "camptocamp/systemd",
      "version_requirement": ">= 2.10.0 < 3.0.0"
    }

from puppet-rabbitmq.

adeleglise avatar adeleglise commented on September 25, 2024

I have the module mod 'camptocamp-systemd', '2.5.1'.

Sorry, I saw that this module is not listed to be compatible with ubuntu 20.04. Maybe that's my issue. And I've updated the systemd module.

from puppet-rabbitmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.