Skip to content

Commit

Permalink
Revert "Merge pull request voxpupuli#292 from jhoblitt/IT-3840/udev"
Browse files Browse the repository at this point in the history
This reverts commit 7cc3300, reversing
changes made to 9c33b95.
  • Loading branch information
jhoblitt committed Jan 30, 2023
1 parent fd0dd76 commit 1ef8090
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 153,531 deletions.
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.

Loading

0 comments on commit 1ef8090

Please sign in to comment.