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

wid4soe/etc

This branch is 454 commits behind ocf/etc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

201b8da · Sep 22, 2022
Sep 22, 2022
Jul 11, 2022
May 3, 2020
Mar 15, 2020
Feb 27, 2019
Apr 24, 2019
Aug 1, 2020
Apr 7, 2020
Feb 27, 2019
Feb 27, 2019
Feb 27, 2019
Jul 11, 2022
Feb 27, 2019
Feb 27, 2019

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%