9 lines
132 B
Ruby
9 lines
132 B
Ruby
|
Facter.add(:ubuntu_codename) do
|
||
|
confine :operatingsystem => 'Ubuntu'
|
||
|
setcode do
|
||
|
Facter.value('lsbdistcodename')
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|