Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: DSC Module #35

Open
cdituri opened this issue Jul 10, 2019 · 0 comments
Open

feature: DSC Module #35

cdituri opened this issue Jul 10, 2019 · 0 comments

Comments

@cdituri
Copy link

cdituri commented Jul 10, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant