Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Add version facts #50

Merged
merged 12 commits into from
Dec 23, 2014
Merged

Add version facts #50

merged 12 commits into from
Dec 23, 2014

Conversation

petems
Copy link
Member

@petems petems commented Dec 5, 2014

Breaking up the elements of #48 into smaller bitesize pieces 👍

This gives new facts ::java_version and ::java_patch_level

This means, even before there's a solid fix for #48, you can easily add some logic in your manifests to only update Java when versions out of date.

This will also fix #49, by adding some logic around checking if on OSX 10.10 and failing if release too old.

Peter Souter added 12 commits December 5, 2014 13:21
This means a more up-to-date version of rspec-puppet, so we can do better mocking and more complex tests
As it now uses the `java_version` fact
If Java is not present, we should return nil
Was updated in rspec-puppet, from @rodjek's blog:

```
This matcher has now been deprecated and will be removed in the next major release. The reason this is on it's way out is that it doesn't support parameterised classes and this has caused a lot of confusion for many users.
```
If we're using EOS, might as well make it accurate
@petems
Copy link
Member Author

petems commented Dec 23, 2014

@dgoodlad mind having a lookover? 👍

@dgoodlad
Copy link
Contributor

Beauty. Thanks @petems !

dgoodlad added a commit that referenced this pull request Dec 23, 2014
@dgoodlad dgoodlad merged commit abb8949 into boxen:master Dec 23, 2014
@dgoodlad
Copy link
Contributor

Shipped in 1.8.0

@petems petems deleted the add_version_facts branch December 23, 2014 15:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Catch issues with Java 7 < Patch 71
2 participants