Le 09/07/2015 à 07:37:04-0700, DJ a écrit
> are you saying those data is common for all hosts? then may be you can use
> common.yaml ?
Well....no....
I've a puppet master who « manage » almost every my server. But I still get
lots of « thing » not manage by puppet, thing like networking hardware.
As you guest I can run puppet agent on a hp Procurve.
So because my monitoring server is under the control of puppet I would like
to use puppet to configure the nagios to monitor those hardware.
The list of those hardware is inside some csv file, I can extract a list of
all my Procurve. But I don't known where to put this file.
If I put the content inside common.yaml that « sucks » because those
information has no relation with all node.
If I put the content inside
my_miniroting_server.yaml
....I don't known how to do it because this file is edited by hand. Of
course I can make some very dirty but well...
> Hi,
>
> Very basic question about hiera file.
>
> I've
>
> hieradata/my_host.yaml
>
> I like at the end of my_host.yaml make something like
>
> include my_host_add.yaml
>
> is it possible ?
>
> The reason is some data is automatically extract from a database, those
> data is specific to that host. And because this file is pretty big I don't
> known if it's a good idea to use hierachy to include in every host (knowing
> I've no way to use those data outside to my_host)
>
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone :
+33 1 45 07 76 26/
+33 6 86 69 95 71
xmpp:
j...@obspm.fr
Heure local/Local time:
jeu 9 jul 2015 16:43:49 CEST