aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-06-03 16:20:36 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-06-03 16:20:36 -0400
commit3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00 (patch)
treed25f6bf5cf46daadb41350bcc6cc91abd8924de1
parentd007a403330c553d925b1b4888d93962a5f83f99 (diff)
downloadpuppet-apt-3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00.tar.gz
puppet-apt-3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00.tar.bz2
Fix bug with debian_nextcodename
-rw-r--r--lib/facter/debian_nextcodename.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/debian_nextcodename.rb b/lib/facter/debian_nextcodename.rb
index 755a0e5..af16cc8 100644
--- a/lib/facter/debian_nextcodename.rb
+++ b/lib/facter/debian_nextcodename.rb
@@ -6,7 +6,7 @@ def debian_codename_to_next(codename)
if codename == "sid"
return "experimental"
else
- codenames = Facter::Util::Debian::CODENAMES.values.reverse
+ codenames = Facter::Util::Debian::CODENAMES.values
i = codenames.index(codename)
if i and i+1 < codenames.count
return codenames[i+1]