]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Adjust the regular expression for facts.
authorAshley Penney <ashley.penney@puppetlabs.com>
Tue, 22 Apr 2014 21:14:16 +0000 (23:14 +0200)
committerAshley Penney <ashley.penney@puppetlabs.com>
Tue, 22 Apr 2014 21:15:16 +0000 (23:15 +0200)
commit68acb59bf77d8d818489b1e2a97491cb7f327a0a
tree158f31acabe32a690c7261f99b17b89a21b5257b
parent6a5dee25a6005280ef86a523192acf9b4d02e7ce
Adjust the regular expression for facts.

Previously this was incorrectly handling facts that were of the form
foo=1+1=2 due to the ='s in the actual fact contents.  Fix this and
add tests to try and prevent regressions.
lib/facter/facter_dot_d.rb
spec/unit/facter/facter_dot_d_spec.rb [new file with mode: 0644]