blob: f53a9eb86736008ddf1f010e68b9fd857cfac1b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
begin
require 'facter/util/debian'
rescue LoadError
require "#{File.dirname(__FILE__)}/util/debian"
end
Facter.add(:debian_lts) do
confine :operatingsystem => 'Debian'
setcode do
if Facter::Util::Debian::LTS.include? Facter.value('debian_codename')
true
else
false
end
end
end
|