How do you automatically distribute Desired State Configuration custom resources as part of a deployment?

主宰稳场 提交于 2019-12-01 16:52:00

You could configure a centralized pull-server for DSC that clients can get configuration and resources from. Check out:

If you don't want to use a Pull Server, the only other option you have is to manually Push the resources out, either doing it by using the File Resource in your Configuration (and using Depends On) or copying them out manually somewhere else.

I highly recommend the PowerShell.org E-Book on DSC. It walks you through this scenario and many others. https://onedrive.live.com/?cid=7f868aa697b937fe&id=7F868AA697B937FE%21107

Assuming you're using Windows Management Framework / PowerShell 5, you can use Install-Module to install the resource from a NuGet feed.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!