Hello, I’ve been banging my head on this stuff for a while, so lets imagine I have a resource:
Configuration WebProxy
{
Param (
[Parameter(Mandatory=$true)][string] $url
)
Import-DscResource -Module nx
Node webproxy {
nxFile ProxyConf
{
SourcePath = "$url_variable_goes_here"
DestinationPath = '/etc/nginx/sites-available/proxy'
}
}
}
So, I figured I could use configdata, but that’s not convinient, I’d like to be able to pass value from pipeline at mof compile time, is that possible?