[icinga-users] Puppet / hiera: problems with syntax

2016-12-29 Thread Denny Fuchs
Hello, I want to manage nearly all with Hiera and have some trouble to understand the underlying syntax. I try to use roles and profiles: * Profile for Icinga2 Master: modules/profile/manifests/icinga2/server.pp class profile::icinga2::server { include ::icinga2 include ::icinga2::feat

Re: [icinga-users] Puppet / hiera: problems with syntax

2016-12-29 Thread David Raison
Hi Denny, > * Hiera role includes: hieradata/role/mon.yaml > > --- > classes: > - role::mysql_server > - role::icinga2_server > - role::webserver > - role::web::icingaweb2 The usual role/profile pattern for Puppet says one node => one role. What you could do, though I wouldn't recommend

Re: [icinga-users] Puppet / hiera: problems with syntax

2016-12-29 Thread markus . joosten
Can you give some error message you are seeing? Regards, Markus Sent from my iPhone > On 29 Dec 2016, at 15:43, Denny Fuchs wrote: > > Hello, > > I want to manage nearly all with Hiera and have some trouble to understand > the underlying syntax. > > I try to use roles and profiles: > > *

Re: [icinga-users] Puppet / hiera: problems with syntax

2016-12-29 Thread Denny Fuchs
hi, > The usual role/profile pattern for Puppet says one node => one role. you are definitely right. I started with mysql …. to get the hiera basics running … but, at this time, I just learning, how other do it and what fits for us :-) > What would interesting me though, would be to know how y

Re: [icinga-users] Puppet / hiera: problems with syntax

2016-12-29 Thread Denny Fuchs
hi Markus, > Can you give some error message you are seeing? there was „no“ error messages. The code just did nothing :-) The correct lines are now working … so I can get all other things running (like icingaweb2 + director / graphite / influx / grafana) and start with basics checks. If all t