You could use the data in my_host.yaml from multiple profiles/roles as long as you fullyqualify the data source. But to answer your hiera question, I do not think you can "include" another yaml file.
-Miguel On Wednesday, July 8, 2015 at 9:39:10 AM UTC-4, Albert Shih wrote: > > 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 <javascript:> > Heure local/Local time: > mer 8 jul 2015 15:31:36 CEST > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f85478c0-c380-42de-8876-459f98e89c5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.