diff options
Diffstat (limited to 'lib/facter/ubuntu_codename.rb')
-rw-r--r-- | lib/facter/ubuntu_codename.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/facter/ubuntu_codename.rb b/lib/facter/ubuntu_codename.rb new file mode 100644 index 0000000..814fd94 --- /dev/null +++ b/lib/facter/ubuntu_codename.rb @@ -0,0 +1,8 @@ +Facter.add(:ubuntu_codename) do + confine :operatingsystem => 'Ubuntu' + setcode do + Facter.value('lsbdistcodename') + end +end + + |