Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7656f705aa85643a3e1a53a54249880a3458e6f7
[puppet-modules/puppetlabs-apt.git]
/
lib
/
facter
/
apt_reboot_required.rb
1
# frozen_string_literal: true
2
3
# apt_reboot_required.rb
4
Facter.add(:apt_reboot_required) do
5
confine osfamily: 'Debian'
6
setcode do
7
File.file?('/var/run/reboot-required')
8
end
9
end