Jump to content

User:YuviPanda/Wikitech hiera

From Wikitech

Simple way to manage hiera data on a per-project basis from Wikitech.

Wikitech Backend

  1. Implement a YAMLContentHandler that can store and validate YAML documents as pages
  2. Set up a Hiera: namespace on Wikitech, with one page in that namespace per project, with content in YAML
  3. Make sure that the Hiera: namespace for each project is only editable by projectadmins of that project. Viewable by anyone.

Hiera backend

Currently, this looks for .yaml files in the file system. This will just be modified to hit the MediaWiki API on Wikitech to get the data for each project, and everything else is the same.