diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-11 11:19:33 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-12 16:12:08 -0700 |
commit | 36021021b4cb11aea0a5acd35d051db52d8fc99f (patch) | |
tree | ef7b2a6664f1c1a0855b5f131b36d1e68e267e50 /lib/puppet/util/rails/reference_serializer.rb | |
parent | 14b1e008c1368e6c56d68f83999472351fd3327a (diff) | |
download | puppet-36021021b4cb11aea0a5acd35d051db52d8fc99f.tar.gz puppet-36021021b4cb11aea0a5acd35d051db52d8fc99f.tar.xz puppet-36021021b4cb11aea0a5acd35d051db52d8fc99f.zip |
(#6770) Don't pollute valid face list when #face? is called.
We had two conflicting uses of the list of available faces: in the #face?
method we were perfectly happy to create a top level key on any request, but
didn't populate the version set.
Meanwhile, in #faces we treated the set of top level keys as the absolute and
correct list of all *valid* faces, leading to pain and suffering when people
queried for an invalid face, but then expected to enumerate only valid faces.
Paired-With: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rails/reference_serializer.rb')
0 files changed, 0 insertions, 0 deletions