Skip to content

feature: DSC Module #35

Description

@cdituri

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions