brooklyncentral/brooklyn — pull request #171 by aledsage (2012-06-20 11:19:54+00:00)
Title: Supports provisioning windows VMs

Allows more overrides, including to:
- use Administrator instead of root (without it trying to ssh to create user).
- disable defaults for id_rsa keys.
- not wait for ssh'able.
- retrieve auto-generated password for aws-ec2.

Limitations and things still to do include:
- Major cleanup of CredentialsFromEnv (and JcloudsLocation).
Would love to reduce the number of if blocks for special cases, and
to have a more standard way of configuring...
- Test the scenario where winsshd is not installed on Windows box.

---
Note, I wasn't sure about JcloudsResolver using:
new CredentialsFromEnv(BrooklynProperties.Factory.newDefault()...) instead of newEmpty().
but it didn't work with newEmpty. I haven't gone back to review it though.

I'm not happy with this code, but want to do a cleanup in a big refactor of CredentialsFromEnv etc rather than in this pull request...