Badgerati / Fogg

PowerShell tool to aide and simplify the creation, deployment and provisioning of infrastructure in Azure
MIT License
7 stars 2 forks source link

Extend DSC provisioner to include Custom Scripts #4

Closed Badgerati closed 7 years ago

Badgerati commented 7 years ago

The only provisioner right now is DSC, aim for this issue is to extend DSC section to be a Provisioner section which include DSC and Custom Scripts. Something like:

"provisioners": {
    "remoting": "dsc: .\\Remoting.ps1",
    "web": "custom: .\\WebServer.ps1"
}

Then in the VM section, instead of having a DSC array of keys, it's a Provisioners array of keys:

"vms": [
    {
        ...,
        "provisioners": [
            "remoting"
        ],
        ...
    }
]

The rest wil be taken care of by Fogg; so publishing DSC scripts, and creating context/containers for custom scripts.