Hello
I am migrating our DSC script into Otter and I transcript the following config and the DependsOn did not work :-(
DSC Script
Configuration SetupIISRemoteManagement {
WindowsFeature isWeb-Server {
Ensure = "Present"
Name = "Web-Server"
}
WindowsFeature Management {
Name = 'Web-Mgmt-Service'
Ensure = 'Present'
DependsOn = @('[WindowsFeature]isWeb-Server')
}
Otter Script ???
##AH:UseTextMode
# SetupIISRemoteManagement
{
PSDsc WindowsFeature (
Otter_ConfigurationKey: isWeb-Server,
Name: 'Web-Server',
Ensure: 'present'
);`
PSDsc WindowsFeature (
Otter_ConfigurationKey: isWeb-Mgmt-Service,
Name : 'Web-Mgmt-Service',
Ensure : 'Present',
DependsOn : DON'T WHAT TO PUT IN ?????
);
}
I try DependsOn : isWeb-Server but it did not work
Any help would be appreciate
Regards
Philippe