diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-06-03 16:20:36 -0400 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-06-03 16:20:36 -0400 |
commit | 3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00 (patch) | |
tree | d25f6bf5cf46daadb41350bcc6cc91abd8924de1 | |
parent | d007a403330c553d925b1b4888d93962a5f83f99 (diff) | |
download | puppet-apt-3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00.tar.gz puppet-apt-3a7dd605e344cd8bdfa33a1fb82bfefe948cbd00.tar.bz2 |
Fix bug with debian_nextcodename
-rw-r--r-- | lib/facter/debian_nextcodename.rb | 2 |
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] |