Closed igalic closed 5 years ago
unless this is already possible in the API, this issue depends on https://github.com/bsdci/ioc/issues/18
libioc.Config.Data.Data.__iter__()
only returns the flat structure:
which might make it tricky to get an entire dict
from it…
I've solved this with a bit of example code in our bsdci/puppet-control-repo and documentation
n.b.: I'm using that exact example code ;)
I propose a new entry to the
provision
config space: adict
offacts
.the name is up for discussion, since every configuration management software names them differently:
i could go on, but these are the systems i have at least passing familiarity with.
Each of them also has a concept of a "custom fact". These are most often used to classify the system, e.g.: assign a specific role.