diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/facter/systemd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/systemd.rb b/lib/facter/systemd.rb index d488efb..4361f77 100644 --- a/lib/facter/systemd.rb +++ b/lib/facter/systemd.rb @@ -23,13 +23,13 @@ Facter.add(:systemd) do confine :kernel => :linux setcode do - Facter::Core::Execution.exec('ps -p 1 -o comm=') == 'systemd' + Facter::Util::Resolution.exec('ps -p 1 -o comm=') == 'systemd' end end Facter.add(:systemd_version) do confine :systemd => true setcode do - Facter::Core::Execution.exec("systemctl --version | awk '/systemd/{ print $2 }'") + Facter::Util::Resolution.exec("systemctl --version | awk '/systemd/{ print $2 }'") end end |