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