On Wed, Jul 15, 2015 at 8:59 AM, Trevor Vaughan <tvaug...@onyxpoint.com> wrote:
> I *think* I've just run into a case where I was trying to run strip! on a > frozen Facter variable. > > 1) How do we know what variables are frozen coming from Facter? > Facter shouldn't be freezing resolved fact values, so is this something that a custom fact is explicitly doing to the returned value? http://ruby-doc.org/core-2.2.2/Object.html#method-i-frozen-3F should work for checking in an object is frozen, though. > 2) What is the best way to ensure that our tests check for this case? > > Thanks, > > Trevor > > -- > Trevor Vaughan > Vice President, Onyx Point, Inc > (410) 541-6699 > > -- This account not approved for unencrypted proprietary information -- > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoW0ovdB6E%3DLTFtD7Er126StgUyuaTpB89n2Bz%2BFminS7w%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoW0ovdB6E%3DLTFtD7Er126StgUyuaTpB89n2Bz%2BFminS7w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Join us at **PuppetConf 2015, October 5-9 in Portland, OR - *www. <http://www.google.com/url?q=http%3A%2F%2Fwww.&sa=D&sntz=1&usg=AFQjCNEnS7itqgvQV3E4Se1fu4Um_UapSw> 2015.puppetconf.com <http://www.google.com/url?q=http%3A%2F%2F2015.puppetconf.com&sa=D&sntz=1&usg=AFQjCNE1uQL4Sh23Vr-XkPLa4xfNcoXSog> *Register early to save 40%!* -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CACZQQfMTNFjiUyQcd_hymwtEcLhX1z%2BeQA9Z8P5AyTnOfLpyzg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.