9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v4.0.1](https://github.com/voxpupuli/puppet-systemd/tree/v4.0.1) (2023-01-31)

[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v4.0.0...v4.0.1)

**Fixed bugs:**

- Revert udevadm and udev facts from \#292 [\#316](https://github.com/voxpupuli/puppet-systemd/pull/316) ([jhoblitt](https://github.com/jhoblitt))
- systemd::timer: fix before's argument to use the proper syntax [\#315](https://github.com/voxpupuli/puppet-systemd/pull/315) ([simondeziel](https://github.com/simondeziel))

## [v4.0.0](https://github.com/voxpupuli/puppet-systemd/tree/v4.0.0) (2023-01-27)

[Full Changelog](https://github.com/voxpupuli/puppet-systemd/compare/v3.10.0...v4.0.0)
Expand Down
6 changes: 3 additions & 3 deletions lib/facter/systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@
# Caveats:
#
Facter.add(:systemd) do
confine(kernel: 'Linux')
confine kernel: :linux
setcode do
Facter.value(:service_provider) == 'systemd'
end
end

Facter.add(:systemd_version) do
confine(systemd: true)
confine systemd: true
setcode do
Facter::Util::Resolution.exec("systemctl --version | awk '/systemd/{ print $2 }'")
end
end

Facter.add(:systemd_internal_services) do
confine(systemd: true)
confine systemd: true
setcode do
command_output = Facter::Util::Resolution.exec(
'systemctl list-unit-files --no-legend --no-pager "systemd-*" -t service --state=enabled,disabled,enabled-runtime,indirect'
Expand Down
76 changes: 0 additions & 76 deletions lib/facter/udev.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/facter/udevadm.rb

This file was deleted.

2 changes: 1 addition & 1 deletion manifests/timer.pp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
group => $group,
mode => $mode,
show_diff => $show_diff,
before => Systemd::Unit_File[$name],
before => Systemd::Unit_file[$name],
daemon_reload => $daemon_reload,
}
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppet-systemd",
"version": "4.0.0",
"version": "4.0.1",
"author": "Vox Pupuli",
"summary": "Puppet Systemd module",
"license": "Apache-2.0",
Expand Down
Loading