biemond / biemond-jdk7

Puppet JDK7 module optimized for Oracle
Apache License 2.0
2 stars 15 forks source link

Set some resource definitions under condition. Required when multiple install7 resources will be defined #17

Closed standagh closed 8 years ago

standagh commented 8 years ago

Using for example following hiera definitions:

java_instances:
    jdk1:
        version: "8u72"
        full_version: "jdk1.8.0_72"
        java_homes: "/opt/java"
        x64: true
        alternatives_priority: 18000
        download_dir: "/var/download"
        source_path: "/var/download"
        urandom_java_fix: true
    jdk2:
        version: "7u95"
        full_version: "jdk1.7.0_95"
        java_homes: "/opt/java"
        x64: true
        alternatives_priority: 18000
        download_dir: "/var/download"
        source_path: "/var/download"
        urandom_java_fix: true