Github user as22323 commented on the issue:
https://github.com/apache/metron/pull/754
Could the following approach be taken?:
In metron-deployment/amazon-ec2/README.md add two new "Errors" in the
"Common Error Section"
1)
# Error: ''Failed to connect to the host via ssh: percent_expand: unknown
key %C\r\n"
This error might occur if you are deploying with Linux OS. The %C in the
control_path is compatible with Mac OS but might not be compatible certain
Linux operating systems.
## Solution
If you see this error update the control_path in ansble.cfg to the
following.
```
control_path = ~/.ssh/ansbile-ssh-%%h-%%r
```
2)
# Error: ''too long for Unix domain socket\rn\n"
This error might occur if you are deploying with Mac OS.
## Solution
If you see this error when deploying with a Mac update the control_path in
ansble.cfg to the following.
```
control_path = ~/.ssh/ansible-ssh-%%C
```
-----------------------
Update ansble.cfg to include comments:
```
#When deploying with Mac OS use this control_path if you receive the
following error "too long for Unix domain socket":
[ssh_connection]
control_path = ~/.ssh/ansible-ssh-%%C
#When deploying with Linux OS use this control_path if you receive the
following error "Failed to connect to the host via ssh: percent_expand: unknown
key %C":
#[ssh_connection]
#control_path = ~/.ssh/ansbile-ssh-%%h-%%r
```
---