Refactor and reduce
The module in its previous incarnation was unnecessarily hard to read and use. This commit applies the "params" pattern in order to more clearly deliniate between logical variable selection and actual declarative configuration.
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
node default {
|
||||
|
||||
notify { "alpha": } ->
|
||||
class { 'java':
|
||||
distribution => 'jdk',
|
||||
version => 'latest',
|
||||
} ->
|
||||
notify { "omega": }
|
||||
|
||||
class { 'java':
|
||||
distribution => 'jdk',
|
||||
version => 'latest',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user