[tor-bugs] #30020 [Internal Services/Tor Sysadmin Team]: switch from our custom YAML implementation to Hiera
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Apr 4 14:31:19 UTC 2019
#30020: switch from our custom YAML implementation to Hiera
-------------------------------------------------+-------------------------
Reporter: anarcat | Owner: anarcat
Type: project | Status: assigned
Priority: Medium | Milestone:
Component: Internal Services/Tor Sysadmin | Version:
Team |
Severity: Normal | Keywords:
Actual Points: | Parent ID: #29387
Points: | Reviewer:
Sponsor: |
-------------------------------------------------+-------------------------
We currently use a custom-made YAML database for assigning roles to
servers and other metadata. I started using Hiera for some hosts and it
seems to be working well.
Hiera is officially supported in Puppet and shipped by default in Puppet 5
and later. It's the standard way of specifying metadata and class
parameters for hosts. I suspect it covers most of our needs in terms of
metadata and should cover most if not all of what we're currently doing
with the YAML stuff in Puppet.
We should therefore switch to using Hiera instead of our homegrown
solution.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30020>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list