Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit ab06e41

Browse files
committed
Support Ruby v2.0.0 and improve scope of testing
1 parent 641758a commit ab06e41

File tree

2 files changed

+71
-26
lines changed

2 files changed

+71
-26
lines changed

.travis.yml

Lines changed: 52 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,63 @@
1+
---
12
language: ruby
3+
24
bundler_args: --without development
5+
36
rvm:
47
- 1.8.7
58
- 1.9.3
6-
- 2.1.4
7-
script:
8-
- "bundle exec rake lint spec SPEC_OPTS='--format documentation'"
9+
- 2.0.0
10+
- 2.1.0
11+
912
env:
10-
- PUPPET_VERSION="~> 2.7.0"
11-
- PUPPET_VERSION="~> 3.0.0"
12-
- PUPPET_VERSION="~> 3.1.0"
13-
- PUPPET_VERSION="~> 3.8.0"
14-
- PUPPET_VERSION="~> 4.2"
13+
matrix:
14+
- PUPPET_GEM_VERSION="~> 3.1.0"
15+
- PUPPET_GEM_VERSION="~> 3.2.0"
16+
- PUPPET_GEM_VERSION="~> 3.3.0"
17+
- PUPPET_GEM_VERSION="~> 3.4.0"
18+
- PUPPET_GEM_VERSION="~> 3.5.0"
19+
- PUPPET_GEM_VERSION="~> 3.6.0"
20+
- PUPPET_GEM_VERSION="~> 3.7.0"
21+
- PUPPET_GEM_VERSION="~> 3.8.0"
22+
- PUPPET_GEM_VERSION="~> 3" FUTURE_PARSER="yes"
23+
- PUPPET_GEM_VERSION="~> 4.0.0"
24+
- PUPPET_GEM_VERSION="~> 4.1.0"
25+
- PUPPET_GEM_VERSION="~> 4.2.0"
26+
- PUPPET_GEM_VERSION="~> 4.3.0"
27+
- PUPPET_GEM_VERSION="~> 4.4.0"
28+
- PUPPET_GEM_VERSION="~> 4" STRICT_VARIABLES="yes"
29+
30+
sudo: false
31+
32+
script: 'bundle exec rake metadata_lint && bundle exec rake validate && bundle exec rake lint && SPEC_OPTS="--format documentation" bundle exec rake spec'
33+
1534
matrix:
35+
fast_finish: true
1636
exclude:
37+
- rvm: 2.0.0
38+
env: PUPPET_GEM_VERSION="~> 3.1.0"
39+
- rvm: 2.1.0
40+
env: PUPPET_GEM_VERSION="~> 3.1.0"
41+
- rvm: 2.1.0
42+
env: PUPPET_GEM_VERSION="~> 3.2.0"
43+
- rvm: 2.1.0
44+
env: PUPPET_GEM_VERSION="~> 3.3.0"
45+
- rvm: 2.1.0
46+
env: PUPPET_GEM_VERSION="~> 3.4.0"
1747
- rvm: 1.8.7
18-
env: PUPPET_VERSION="~> 4.2"
19-
- rvm: 1.9.3
20-
env: PUPPET_VERSION="~> 2.7.0"
21-
- rvm: 2.1.4
22-
env: PUPPET_VERSION="~> 2.7.0"
23-
- rvm: 2.1.4
24-
env: PUPPET_VERSION="~> 3.0.0"
25-
- rvm: 2.1.4
26-
env: PUPPET_VERSION="~> 3.1.0"
48+
env: PUPPET_GEM_VERSION="~> 4.0.0"
49+
- rvm: 1.8.7
50+
env: PUPPET_GEM_VERSION="~> 4.1.0"
51+
- rvm: 1.8.7
52+
env: PUPPET_GEM_VERSION="~> 4.2.0"
53+
- rvm: 1.8.7
54+
env: PUPPET_GEM_VERSION="~> 4.3.0"
55+
- rvm: 1.8.7
56+
env: PUPPET_GEM_VERSION="~> 4.4.0"
57+
- rvm: 1.8.7
58+
env: PUPPET_GEM_VERSION="~> 4"
59+
- rvm: 1.8.7
60+
env: PUPPET_GEM_VERSION="~> 4" STRICT_VARIABLES="yes"
2761

28-
sudo: false
2962
notifications:
30-
email:
31-
- al@lab42.it
63+
email: false

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,25 @@
55
####Table of Contents
66

77
1. [Overview](#overview)
8-
2. [Setup](#setup)
9-
3. [Usage](#usage)
8+
1. [Compatibility](#compatibility)
9+
1. [Setup](#setup)
10+
1. [Usage](#usage)
1011

1112

1213
##Overview
1314

1415
This module installs java (JDK + JRE) versions
1516

17+
##Compatibility
18+
Puppet v3 (with and without the future parser) and Puppet v4 with Ruby versions
19+
1.8.7, 1.9.3, 2.0.0 and 2.1.0 where supported by Puppet.
20+
21+
* Debian 6
22+
* EL 6
23+
* Solaris 10
24+
* Solaris 11
25+
* Ubuntu 14.04
26+
1627
##Setup
1728

1829
###Setup Requirements
@@ -23,10 +34,12 @@ This module installs java (JDK + JRE) versions
2334

2435
The main class is used only.
2536

26-
class { 'java':
27-
jdk => false, # default - whether to install the jdk or the jre only
28-
version => '6', # Java version to install
29-
}
37+
```puppet
38+
class { 'java':
39+
jdk => false, # default - whether to install the jdk or the jre only
40+
version => '6', # Java version to install
41+
}
42+
```
3043

3144
##Development
3245

0 commit comments

Comments
 (0)