aboutsummaryrefslogtreecommitdiff
path: root/lib/facter/util/ubuntu.rb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-12-07 16:51:20 +0100
committervarac <varacanero@zeromail.org>2015-12-07 19:43:31 +0100
commit5381cb7b617a78b75b593a21fe9e0e8356013f6a (patch)
tree6349dd35adf7a2254c60ca42e79099bb6a74842c /lib/facter/util/ubuntu.rb
parentbf4daa73b11fe7d7db49a6f863d8e850288c57e8 (diff)
downloadpuppet-apt-5381cb7b617a78b75b593a21fe9e0e8356013f6a.tar.gz
puppet-apt-5381cb7b617a78b75b593a21fe9e0e8356013f6a.tar.bz2
[bug] Fix debian_nextcodename on wheezy hosts
I noticed this behaviour because $::debian_nextcodename was "squeeze" on a wheezy host. For debugging, i inserted a "puts codenames" in lib/facter/debian_nextcodename.rb, and it turned out that it was sorted differently on wheezy and jessie hosts: On wheezy: buster stretch jessie wheezy squeeze lenny On jessie: lenny squeeze wheezy jessie stretch buster So i decided to rewrite this so this doesn't happen again.
Diffstat (limited to 'lib/facter/util/ubuntu.rb')
-rw-r--r--lib/facter/util/ubuntu.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/facter/util/ubuntu.rb b/lib/facter/util/ubuntu.rb
index 1b2411a..52c15e8 100644
--- a/lib/facter/util/ubuntu.rb
+++ b/lib/facter/util/ubuntu.rb
@@ -14,6 +14,7 @@ module Facter
"utopic",
"vivid",
"wily",
+ "xenial"
]
end
end