(maint) Update apt custom facts
authorgimmy <gheorghe.popescu@puppet.com>
Fri, 13 Mar 2020 12:09:41 +0000 (14:09 +0200)
committergimmy <gheorghe.popescu@puppet.com>
Fri, 13 Mar 2020 12:09:41 +0000 (14:09 +0200)
commit6786d506e373c08df8ad0b00c5a9d7275ba0ed1a
tree8418b4cb94f4de86fb581ae4ece94ff0db6bd6ed
parent718cf4f6674f368a5da5650003eeae9bbd9101df
(maint) Update apt custom facts

This commit updates apt custom facts because the evaluation
of custom facts code has changed between facter 2 and facter 4.
In facter 2, when a custom fact is loaded, the code in `add` block
was not executed.
In facter 4, when a custom fact is loaded, the code outside `setcode`
block is executed(same as Facter 3).
lib/facter/apt_updates.rb