Facter.add('has_systemd') do

    if File.file?('/bin/systemctl') then
        retval = true
    else
        retval = false
    end

    setcode do
        retval
    end
end

Facter.add('has_systemd') do
  if File.file?('/bin/systemctl') then
    retval = true
  else
    retval = false
  end

  setcode do
    retval
  end
end

Make Rubocop happy with fact indentation
Make Rubocop happy with fact indentation

Signed-off-by: Samuli Seppänen <34cd69fd1edf1dbeb60d8f1ed9a92a19d78eb447@gmail.com>
