Skip to content

Conversation

@Iristyle
Copy link
Contributor

@jpogran here's what you were doing in #2, rebased on top of everything that was merged.

I only made the one change we had been talking about - using a new ERB template for the generic resource invocation. Feel free to grab this commit into your PR / close this PR.

@param_hash = resource
template = ERB.new(File.new(template_path + "/invoke_dsc_resource.ps1.erb").read, nil, '-')
# TODO: double-check that 'type' is the right thing to check
template_name = resource.type == 'dsc' ?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses the type to figure out which template to load.

@Iristyle
Copy link
Contributor Author

Work is continuing in #12

@Iristyle Iristyle closed this Dec 18, 2017
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

Successfully merging this pull request may close these issues.

2 participants