Skip to content
/ etc Public
forked from ocf/etc

Configuration files on all OCF hosts

License

Notifications You must be signed in to change notification settings

RonitNath/etc

 
 

Repository files navigation

ocf-etc

This repo contains configuration files which are replicated to and automatically updated on every OCF host at /etc/ocf/. Configuration files are written in YAML and have schemas defined in the schemas folder.

To validate the files, simply run:

make

Adding a new configuration file

To add a new configuration file:

  1. Create the data file (configs/yourconfig.yaml).
  2. Create the schema file (schemas/yourconfig.schema.json).
  3. Add your file to configs/validate.yaml, and associate it with its schema.
  4. Commit changes to this repo
  5. Add ocflib functions to read your config file
  6. Add tests in this repo that ensure the ocflib functions won't throw exceptions.

About

Configuration files on all OCF hosts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.8%
  • Makefile 9.2%