Bug #6006
YAML node terminus for external nodes isn't documented anywhere
| Status: | Closed | Start date: | 01/25/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | - | |||
| Target version: | - | |||
| Keywords: | Affected URL: | |||
| Branch: | ||||
Description
We have an awesomely simple and powerful node_terminus for YAML node definitions, but we haven’t documented it really.
http://docs.puppetlabs.com/references/latest/indirection.html
We should be documenting it here:
http://docs.puppetlabs.com/guides/external_nodes.html
with some examples. More people would use this than the exec terminus if they knew about it.
History
#1
Updated by James Turnbull over 2 years ago
- Status changed from Unreviewed to Accepted
#2
Updated by Nick Fagerlund about 2 years ago
I may be missing something here. It looks like the yaml terminus expects to be deserializing perfectly-formed Puppet::Node objects, which aren’t as trivial to construct by hand as, e.g., the YAML expected by the exec terminus would be. In fact, it… looks like it’s basically there to cache stuff retrieved from one of the other termini.
What’s the workflow you envision for taking advantage of the yaml terminus? (That is, how does the yaml come to exist, how is it managed and edited over its lifespan, how does the admin express minor differences between largely similar nodes, etc.)
#3
Updated by Nick Fagerlund about 2 years ago
- Status changed from Accepted to Needs More Information
- Assignee set to Nigel Kersten
#4
Updated by Nigel Kersten about 2 years ago
Hrm. I’m sure there’s a simple YAML terminus even if this isn’t actually it…
/me hunts more.
#5
Updated by Nick Fagerlund almost 2 years ago
You might be thinking of the one hacked up by Jared Brothers in #5795, which does exactly what we’re looking for here. I’m not sure we can modify the existing yaml terminus to do this, but his approach looks perfectly solid.
#6
Updated by Lauren Rother about 1 month ago
- Status changed from Needs More Information to Closed