aboutsummaryrefslogtreecommitdiff
path: root/lib/facter/ubuntu_codename.rb
blob: 814fd94201f1939b24175b6991207c57c97b6ab3 (plain)
1
2
3
4
5
6
7
8
Facter.add(:ubuntu_codename) do
  confine :operatingsystem => 'Ubuntu'
  setcode do
    Facter.value('lsbdistcodename')
  end
end