This is exactly what I meant, just use explicit hiera calls that will pull
from the yaml file that contains all the values.
In hiera data:
/somewhere/inyour/hierarchy/
devies.yaml
---
ipcam::location1::ipaddress: 10.0.0.1
ipcam::location2::ipaddress: 10.1.0.1
...
---EOF---
Then on multiple profi
This is exactly what I meant, just use explicit hiera calls that will pull
from the yaml file that contains all the values.
In hiera data:
/somewhere/inyour/hierarchy/devies.yaml
---
ipcam::location1::ipaddress: 10.0.0.1
ipcam::location2::ipaddress: 10.1.0.1
...
---EOF---
Then on multiple profil
On Friday, July 10, 2015 at 7:25:16 AM UTC-5, Albert Shih wrote:
>
> Le 09/07/2015 à 07:05:16-0700, jcbollinger a écrit
> >
> >
> >
> > No, at least not with HIera's built-in YAML back-end. YAML has no
> facility
> > such as you describe, so to get it you would need to engage a YAML
> par
Le 09/07/2015 à 07:05:16-0700, jcbollinger a écrit
>
>
>
> No, at least not with HIera's built-in YAML back-end. YAML has no facility
> such as you describe, so to get it you would need to engage a YAML parser that
> supported such a thing as an extension.
Ok thanks.
>
> The hierarchy is the ma
Maybe this can help : https://forge.puppetlabs.com/hajee/connect
It is a replacement voor yaml in hiera. The connect language allows you to
do an include statement. (See
https://github.com/hajee/connect/blob/master/doc/nutshell.md#include-statement).
You can also import data from external reso
Le 09/07/2015 à 10:55:50-0700, DJ a écrit
> i did not understand your requirement clearly, if you have puppet agent
> running
> on all maachines then you can use facts to get hardware information and use
> that in hieara hierarchy to differentiate things.
No puppet agent didn't work on the netwo
i did not understand your requirement clearly, if you have puppet agent
running on all maachines then you can use facts to get hardware information
and use that in hieara hierarchy to differentiate things.
Regards,
DJ
--
You received this message because you are subscribed to the Google Groups
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 ?
Wellno
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
are you saying those data is common for all hosts? then may be you can use
common.yaml ?
On Wednesday, 8 July 2015 19:09:10 UTC+5:30, 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
On Wednesday, July 8, 2015 at 8:39:10 AM UTC-5, 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 ?
>
No, at least not with
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 b
11 matches
Mail list logo