Remove stages from java module
The stages feature of stdlib is turning out to be more trouble than it's worth. Integrating the changes from Cody and Gary results in the entire mcollective class being in the main stage. We've already found is preferable to have stages after main rather than before to avoid dependency cycles. This only works if all modules use stages. The first module to not use stages will create a cycle if it requires and modules who do use stages and the stages come after main.
This commit is contained in:
@@ -29,13 +29,11 @@ class java(
|
||||
jre: {
|
||||
class { 'java::jre_package':
|
||||
version => $version_real,
|
||||
stage => 'runtime',
|
||||
}
|
||||
}
|
||||
jdk: {
|
||||
class { 'java::jdk_package':
|
||||
version => $version_real,
|
||||
stage => 'runtime',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user