Hi,
We use the roles/profiles paradigm, but I'm struggling with a specific case.
A certain node has multiple profiles, for example 'jenkins' and 'artifactory'.
Both of these require the same Java version, which I had declared like this:
jdk_oracle::version { $jdk_version :
system_default => true,
}
Having it set like this allows other nodes to have multiple versions of java installed (some have 7 and 8).
On this particular node, both profiles have the same version.
How do other people solve this?
I *could* bring the jdk installation into the role, or a separate profile, but this loses the information that both Jenkins and Artifactory require this particular version.
These roles both use other modules to handle the finer grained details of a Jenkins and Artifactory installation, the profile is very site specific.
Regards,
Steven
↧