diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:22 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:22 -0400 |
commit | aba291e2de1682620b6dc22446b30fe870b62956 (patch) | |
tree | 1ba5e08c285dbf2b60e7be2f59934e6abd5f866c /lib/facter/ubuntu_codename.rb |
Squashed 'puppet/modules/apt/' content from commit 33c61e8
git-subtree-dir: puppet/modules/apt
git-subtree-split: 33c61e8df59db1abbed379a9e9790946060a8f1e
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 00000000..814fd942 --- /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 + + |