Open taharah opened 5 years ago
It seems this concept of inventory can be achieved with the load()
command and conditional statements within def install(ctx)
. If not, do you mind sharing a specific example?
One of the things I have been wanting for Kubernetes is the ability to manage complex application deployments in a manner that is similar to how I can manage systems with configuration management tools. Each configuration management tool has their own implementation of an inventory, which can be referenced in order to allow the code to be DRY and dynamic for each particular environment or application stack. Something similar for this tool should help me get closer to realizing that goal.
Implement an inventory system to allow static data to be resolved from a set of files and/or directories something similar to deepmind/kapitan.