Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure idempotency between Puppet runs
Running RHEL 7.1 with 'yum' provider, puppetlabs-rabbitmq is not idempotent. After a second run, puppet tries to change the SElinux context: /File[/etc/systemd/system/rabbitmq-server.service.d]/seltype: seltype changed 'rabbitmq_unit_file_t' to 'systemd_unit_file_t' Since packaging already manages SElinux labels, we should not let Puppet doing it (default behavior). This patch aims to set selinux_ignore_defaults to True for the File resource (/etc/systemd/system/rabbitmq-server.service.d). Thanks to that patch, Puppet will be indempotent between all runs on RHEL platforms.
- Loading branch information