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:
Reid Vandewiele
2013-04-04 19:32:42 -07:00
parent ff80bc7f79
commit f7a95a1e0e
7 changed files with 68 additions and 208 deletions

View File

@@ -1,10 +1,4 @@
node default {
notify { "alpha": } ->
class { 'java':
distribution => 'jdk',
version => 'latest',
} ->
notify { "omega": }
class { 'java':
distribution => 'jdk',
version => 'latest',
}