Currently we only have per project overrides - also need per host ones!
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Labs: Allow per-host Hiera overrides via wikitech | operations/puppet | production | +11 -6 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Andrew | T42525 Cant add a security group to an existing instance | |||
Resolved | Andrew | T87279 Make OpenStack Horizon useful for production labs | |||
Resolved | Andrew | T91990 Horizon dashboard for managing instance puppet config | |||
Resolved | Andrew | T101447 Convert all ldap globals into hiera variables instead | |||
Resolved | scfc | T104202 Allow per-host hiera overrides via wikitech |
Event Timeline
Comment Actions
A couple of methods:
- Pages named Hiera:<Project>/host/hostname
- a 'host' key in the Hiera:<Project> page itself.
Comment Actions
I prefer 1. so that it is possible to just copy the project Hiera page to a host's Hiera page to start customizing that.
Comment Actions
Yeah, I prefer $1 too, since that mirrors closely what we have in the operations/puppet git repository
Comment Actions
Change 233184 had a related patch set uploaded (by Tim Landscheidt):
Labs: Allow per-host Hiera overrides via wikitech
Comment Actions
Verified by temporarily setting "ssh::server::explicit_macs": true at https://wikitech.wikimedia.org/wiki/Hiera:Tools/host/tools-services-01 and running Puppet.