Re: [Puppet Users] Re: Hiera, define, class, putting all together

2016-06-10 Thread Helmut Schneider
jcbollinger wrote: > > On Tuesday, June 7, 2016 at 8:02:24 AM UTC-5, Helmut Schneider wrote: > > > > jcbollinger wrote: > > > > > Without the case statement, how can I make sure that ubuntu only > > receives classes for ubuntu and not e.g. for Windows then? > > > > > > That is where your

Re: [Puppet Users] Re: Hiera, define, class, putting all together

2016-06-08 Thread jcbollinger
On Tuesday, June 7, 2016 at 8:02:24 AM UTC-5, Helmut Schneider wrote: > > jcbollinger wrote: > > Without the case statement, how can I make sure that ubuntu only > receives classes for ubuntu and not e.g. for Windows then? > > That is where your data hierarchy comes in. You have a level name

Re: [Puppet Users] Re: Hiera, define, class, putting all together

2016-06-07 Thread Helmut Schneider
jcbollinger wrote: > On Saturday, June 4, 2016 at 7:20:19 PM UTC-5, Helmut Schneider wrote: > > > > Hi, > > > > I'm new to puppet and read docs as much as possible, so forgive > > some confusion in my code. [Code] > Consider this call: > > hiera_array ('apacheModules', '', 'ubuntu-common')

[Puppet Users] Re: Hiera, define, class, putting all together

2016-06-06 Thread jcbollinger
On Saturday, June 4, 2016 at 7:20:19 PM UTC-5, Helmut Schneider wrote: > > Hi, > > I'm new to puppet and read docs as much as possible, so forgive some > confusion in my code. > > [...] > nodes/xyz.yaml: > packages: > - postfix > - wget > apacheModules: > - mpm_prefork > - php