[Puppet Users] Re: Class composition + parameterization

2018-05-07 Thread Thomas Müller
Am Montag, 7. Mai 2018 09:21:20 UTC+2 schrieb a...@example42.com: > > Actually you don't have to inherit, you can (and should) just have > something like: > > class dk_oracle_java::install { > include dk_oracle_java > package { 'oracle-java8-installer': > ensure => $::dk_oracle_java::ve

[Puppet Users] Re: Class composition + parameterization

2018-05-07 Thread al
Actually you don't have to inherit, you can (and should) just have something like: class dk_oracle_java::install { include dk_oracle_java package { 'oracle-java8-installer': ensure => $::dk_oracle_java::version, } } The above include is not necessary if you are already incuding the d

[Puppet Users] Re: Class composition + parameterization

2018-05-06 Thread Joaquin Menchaca
I spotted it, seems obvious now: class dk_oracle_java::install inherits dk_oracle_java { package { 'oracle-java8-installer': ensure => $version, } } On Sunday, May 6, 2018 at 2:55:40 PM UTC-7, Joaquin Menchaca wrote: > > I am sleuthing for this and haven't found anything obvious yet. > >