2 Responses

  1. Chen Shuai

    I have a similar idea with you.
    I use MongoDB to store node configuration data, including classes, parameters and environment for each puppet agents and store metadata of each puppet module, like param name, param default value, param data type and param candidate values.
    There is a web UI for end user to choose which modules he/she want to apply for a specific node and he/she can choose or fill in the param values to overwrite default values if has, then these information will be store into MongoDB as node configuration data.
    In runtime, Puppet Master will use ENC to call a RESTful service to get YAML format of node configuration data.
    I am still design MongoDB schema, could you share yours?

Leave a Reply