Skip to content

Commit 4c5410b

Browse files
committed
Merge pull request #9 from balukambala/dev
Fixed the RegisterAzureAutomationDscNode cmdlet
2 parents b30b857 + 0b126a9 commit 4c5410b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/ResourceManager/Automation/Commands.Automation/Common/AutomationClientDSC.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ public void RegisterDscNode(string resourceGroupName,
809809
templateParameters.Add("rebootNodeIfNeeded", rebootFlag);
810810
templateParameters.Add("actionAfterReboot", actionAfterReboot);
811811
templateParameters.Add("allowModuleOverwrite", moduleOverwriteFlag);
812+
templateParameters.Add("timestamp", DateTimeOffset.UtcNow.ToString("o"));
812813

813814
// invoke the New-AzureRmResourceGroupDeployment cmdlet
814815
using (Pipeline pipe = Runspace.DefaultRunspace.CreateNestedPipeline())

src/ResourceManager/Automation/Commands.Automation/Common/Constants.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ public class AutomationAccountState
6060
public const int PsCommandValueDepth = 10;
6161

6262
// The template file is a json
63-
public const string TemplateFile = @"https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/azuredeploy.json";
63+
public const string TemplateFile = @"https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/azuredeployV2.json";
6464

6565
// The metaconfig file
66-
public const string ModulesUrl = @"https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/RegistrationMetaConfig.zip";
66+
public const string ModulesUrl = @"https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/RegistrationMetaConfigV2.zip";
6767

68-
public const string ConfigurationFunction = @"RegistrationMetaConfig.ps1\RegistrationMetaConfig";
68+
public const string ConfigurationFunction = @"RegistrationMetaConfigV2.ps1\RegistrationMetaConfigV2";
6969

7070

7171
public static class RunbookType

0 commit comments

Comments
 (0)