-2

I would like to be able to configure Azure Automation DSC to set itself up automatically (find the DSC configuration to apply, onboard the correct vm's as nodes).

Now, I could do this use simply using Azure PowerShell commands, but I'd like for it to be integrated into the automated deploy of my Azure resource group using the JSON template. Is there a way to specify/declare the configuration of the DSC automation in the template?

Here is the JSON schema for Azure Automation (I believe this is the latest version, not sure how to verify this). I don't see anything that mention DSC in here.

If configuring DSC does exists within the Schema, where can I find docs/spec on this? Thanks!

AllTradesJack
  • 2,762
  • 5
  • 25
  • 36
  • I don't think I understood the question, what are you after exactly? adding node to automation or? – 4c74356b41 Jan 25 '17 at 20:42
  • Both adding nodes to Azure Automation DSC and importing the DSC configuration for those nodes to target. – AllTradesJack Jan 25 '17 at 20:43
  • 1
    https://github.com/Azure/azure-quickstart-templates/tree/master/dsc-extension-azure-automation-pullserver ?? – 4c74356b41 Jan 25 '17 at 20:45
  • also https://learn.microsoft.com/en-us/azure/automation/automation-dsc-onboarding – 4c74356b41 Jan 25 '17 at 20:54
  • Thanks for the links, I think this is what I needed. I guess I'm not very good at researching, because I have been googling for days and haven't come across these articles. This is a prevalent problem for me, maybe I'm not familiar enough with the correct technical terms for my google search to be precise enough. – AllTradesJack Jan 25 '17 at 23:08
  • I think you could check the [link](https://github.com/Azure/azure-quickstart-templates). In the web, there are many templates, you could find what you need. – Shui shengbao Jan 26 '17 at 03:18

1 Answers1

0

There is an existing example on GitHub Azure Quick Start Templates here (as mention by 4c74356b41):

https://github.com/Azure/azure-quickstart-templates/tree/master/dsc-extension-azure-automation-pullserver

TravisEz13
  • 2,263
  • 1
  • 20
  • 28