eps
eps copied to clipboard
feature: DSC Module
Would be lovely to see a Desired State Configuration Composite Resource wrapper around eps.
Would allow one to be able to declaratively state/instantiate files from eps template. Something akin to the following DSC pseudo-code could be used for config management of a node's service configuration, for instance:
$epsBindingParams = @{
...
}
EpsTemplate MyConfigFile {
Name = "someConfig.ini"
Path = "someConfig.ini.eps"
Binding = @epsBindingParams
}
And, given the same input -bindings and -path, the final eps output ought to always be the same (ie pure function), so comparing the hash of the eps output against any existing target file-on-disk should suffice as the Get and Test scenarios of a DSC Resource's required {Get, Test, Set} methods.
Also, thanks @straightdave for your efforts re: EPS PowerShell module in general- much appreciated!