Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload udev rules after change #485

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Reload udev rules after change #485

merged 3 commits into from
Aug 27, 2024

Conversation

deric
Copy link
Contributor

@deric deric commented Aug 27, 2024

Pull Request (PR) description

Automatically reload udev rules after a change.

To enable this feature use

systemd::udev_reload: true

A rule with a String notification would be then appended with Exec[systemd-udev_reload]

systemd::udev::rule:
  notify: "Service[systemd-udevd]"

e.g.

notify => [ Service[systemd-udevd], Exec[systemd-udev_reload] ]

would be used.

This Pull Request (PR) fixes the following issues

Fixes #484

@deric deric changed the title Udev Reload udev rules after change Aug 27, 2024
manifests/init.pp Outdated Show resolved Hide resolved
manifests/udev/rule.pp Outdated Show resolved Hide resolved
notify will be converted to an Array, if udev_reload enabled
manifests/udev/rule.pp Outdated Show resolved Hide resolved
@kenyon kenyon merged commit 2b232ef into voxpupuli:master Aug 27, 2024
19 of 28 checks passed
deric added a commit to deric/puppet-systemd that referenced this pull request Aug 28, 2024
kenyon added a commit that referenced this pull request Aug 28, 2024
Update readme to reflect changes in #485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

udev rules not reloaded after change
4 participants