tylerwalts/puppet-jdk_oracle — pull request #28 by thejoecarroll (2014-09-12 15:14:59+00:00)
Title: Detect Debian variants better w/ selector & regex

Changed the conditional to use a regular expression instead of a fixed string, because the lsbdistdescription fact may return different strings at different points in the 14.04 LTS life cycle as point updates are released e.g. a fully update system currently returns "Ubuntu 14.04.1 LTS" instead of the original "Ubuntu 14.04 LTS". Also clarified the contributed code and made it more extensible by dropping the case syntax in favour of a selector syntax.