Use 'files' plugin to implement inline configuration templates#2580
Use 'files' plugin to implement inline configuration templates#2580
Conversation
This change adds support for inline custom configuration templates in node-, group- and validation test definitions. It allows the user to specify small additions to device configurations directly in the node- or group definition, or to define small changes to device configurations directly in the validation tests.
|
The final step of the configlets journey: specifying custom configurations directly in node/group/test definitions. I will update the node/group/validate documentation once we're OK with attribute naming ;) |
jbemmel
left a comment
There was a problem hiding this comment.
I still find it less than intuitive that, as a user, I need to include the 'files' plugin to get access to a 'config.inline' sub-element under validation
Perhaps loading the 'files' plugin by default, or otherwise making it part of standard functionality would be better.
The code is ok and the feature is great, it's just about helping users figure things out easily
I just saw #2579 so I know you were aware of this - my point is about finding a way to avoid having to go through this error in the first place |
I don't have a rock-solid reason, but as the "files and friends" functionality vastly expands the capabilities of overwriting something, I have a funny feeling that making this part of standard functionality would be giving out too much rope. |
This change adds support for inline custom configuration templates in node-, group- and validation test definitions. It allows the user to specify small additions to device configurations directly in the node- or group definition, or to define small changes to device configurations directly in the validation tests.