Fix template errors.

* Fixes iis.yaml.erb
  - Block syntax error
  - Missing end statement
* Fixes rabbitmq.yaml.erb
  - Missing end statement