Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using Hiera with Parameters set for the Puppet Node
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Biddle  
View profile  
 More options Oct 19 2012, 4:18 pm
From: Thomas Biddle <urins...@gmail.com>
Date: Fri, 19 Oct 2012 13:18:59 -0700 (PDT)
Local: Fri, Oct 19 2012 4:18 pm
Subject: Using Hiera with Parameters set for the Puppet Node

Is it possible to have Hiera look at a key set for the node first, before
looking at other items in the hierarchy?

In particular - I'm using Puppet Dashboard and am setting keys & params for
there, so I would like for any value set there for a node to be used over
another item in the hiera hierachy. What value would I have to specify in
the hierarchy for this, if it is possible?

Thanks,
TJ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Biddle  
View profile  
 More options Oct 19 2012, 4:19 pm
From: Thomas Biddle <urins...@gmail.com>
Date: Fri, 19 Oct 2012 13:19:41 -0700 (PDT)
Local: Fri, Oct 19 2012 4:19 pm
Subject: Re: Using Hiera with Parameters set for the Puppet Node

Puppet OS 2.7.19 if that is necessary as well.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
llowder  
View profile  
 More options Oct 19 2012, 4:38 pm
From: llowder <llowde...@gmail.com>
Date: Fri, 19 Oct 2012 13:38:44 -0700 (PDT)
Local: Fri, Oct 19 2012 4:38 pm
Subject: Re: Using Hiera with Parameters set for the Puppet Node

On Friday, October 19, 2012 3:18:59 PM UTC-5, Thomas Biddle wrote:

> Is it possible to have Hiera look at a key set for the node first, before
> looking at other items in the hierarchy?

> In particular - I'm using Puppet Dashboard and am setting keys & params
> for there, so I would like for any value set there for a node to be used
> over another item in the hiera hierachy. What value would I have to specify
> in the hierarchy for this, if it is possible?

Only option I can think of would be to write a custom hiera backend that
checks with the ENC for the value, and then setup your hiera.yaml so it
looks there first.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jcbollinger  
View profile  
 More options Oct 22 2012, 9:18 am
From: jcbollinger <John.Bollin...@stJude.org>
Date: Mon, 22 Oct 2012 06:18:25 -0700 (PDT)
Local: Mon, Oct 22 2012 9:18 am
Subject: Re: Using Hiera with Parameters set for the Puppet Node

On Friday, October 19, 2012 3:18:59 PM UTC-5, Thomas Biddle wrote:

> Is it possible to have Hiera look at a key set for the node first, before
> looking at other items in the hierarchy?

> In particular - I'm using Puppet Dashboard and am setting keys & params
> for there, so I would like for any value set there for a node to be used
> over another item in the hiera hierachy. What value would I have to specify
> in the hierarchy for this, if it is possible?

If you specify the levels of your data hierarchy in the conventional way --
from most specific to least -- then the hiera() function should do what you
want automatically.  Do not use hiera_array() or hiera_hash() for this
purpose, as those are specifically intended for collecting values declared
at all levels of your hierarchy.

John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »