Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Adding multiple IIS bindings with Ensure-Site
-
Well, the operation was modeled off of other IaC tools (Chef, Puppet, DSC), and they did not seem to support this, so we didn't know if it was needed. But yes, it would be a very nice thing to have, I agree!
Of course there was only one request for it, and now there are two. We have a fairly large backlog, so it's a matter of prioritizing...
-
This feature will be included in the next maintenance release of Otter (v1.5.3, scheduled this week).
It will also require an upgrade to the Windows extension (<s>v1.5.0</s> v1.5.1) which will be released at the same time.
We did want to get this in sooner but it took considerably more effort than initially estimated.
-
Tod/Alana, thank you!
I look forward to testing it out.
-
Thank you from me too!
-
Alana/Tod, any update?
Still waiting for the fix... anxiously.
-
The feature was shipped a while ago (Otter v1.5.3 and Windows extension v1.5.1), was there an issue with it?
-
Hmmm... we only use BuildMaster (and Otter script). I am running the latest version with the latest version of the windows extension. It seems to still have problems with multiple bindings (or it is still complaining that there are multiple bindings and it is only going to replace the first).
Do these changes not get merged into BuildMaster?
-
Just pushed the BuildMaster Windows extension v5.6.3 (for a different reason, but that one should include the multiple binding feature).
-
Looking at the source code in GIT, it doesn't look like multiple hosts is implemented. Maybe I am looking in the wrong place, however, it would be nice to have an official answer and/or an official solution for this problem.
-
The operation is EnsureIisSiteOperation.cs, and it has been implemented.
Here is how to use it (OtterSCript):
IIS::Ensure-Site( Name: Otter, AppPool: OtterAppPool, Path: E:\Websites\Otter, Bindings: @( %( IPAddress: 192.0.2.100, Port: 80, HostName: example.com, Protocol: http ) ) ); -
Is there a minimum server requirement for this plugin to work?
We are running BM version 5.6.3 (Build 3) and recently updated to the latest version of the windows plugin in order to use the multiple binding support. However, it seem not to work leaving us unable to deploy. Also rolling back to the previous version proves to be ineffective.
When we use the original configuration (pre-multiple bindings) we get the following error:
Unhandled exception: System.ArgumentNullException: Value cannot be null.When we use the new, multiple bindings configuration we get:
System.Runtime.Serialization.SerializationException: Type 'Inedo.ExecutionEngine.RuntimeValue' in Assembly 'Inedo.ExecutionEngine, Version=50.1.0.0, Culture=neutral, PublicKeyToken=68703f0e52007e75' is not marked as serializable.Any ideas?
-
If you upgrade to the latest v5.6 (currently 5.6.11), then it should work OK!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login