Is it possible that i can configure a remote Node LCM to retrieve the required Modules from a custom service. i.e. i create a custom web service that the remote LCM is configured to talk to for any modules.
In the Environment all Nodes do not have internet access and they are in Push mode. We have a custom solution that creates and pushes our MOf files to the remote machines according to their role.
So we were thinking to make our solution the svc that a remote LCM can retrieve Modules from.
Is this even possible ?
Thank you in advance.
Sure. See GitHub.com/powershellorg/tug. It's a custom pull server implementation that you can use as an example to see how the protocol works. It's not 100% done, but you should lie able to get the idea.
Thank you, I will download and take a look.
@Don: *points to an issue opened sometime ago* 🙂
I think TUG is a great idea and POC now that the DSCPM protocol is available, but i wouldn't stop there.
Generally i would advise against swapping parts of a technology. If you use LCM, you use MS pull/push methods.
If MS publishes PowerShell x.y tomorrow and with it the LCM and pull server change, you're stuck and so are
Sometimes when i find myself that i need to augment part of a technology just to fit my case, i stop to think
As per your issue, there are a few things you can do:
1. Use PULL servers, that's what it was meant for..making sure nodes will have resources before the configuration
2. Use PSModulePath environment variable on each node to point to a share folder. This will mean all modules
3. As the LCM is a windows service, nothing stops you from mimicing it via Scheduled tasks on each node (cause
Hope this gave you some ideas as well 🙂
You must be logged in to reply to this topic.