vmware-archive / salty-vagrant

Use Salt as a Vagrant provisioner.
BSD 2-Clause "Simplified" License
372 stars 62 forks source link

bootstrap-salt issue running example/complete #111

Open claytondaley opened 10 years ago

claytondaley commented 10 years ago

Wanted to try a "complete" example on my vagrant installation so I had to use the develop branch. However, the custom-bootstrap-salt.sh in example/complete dies with the error:

/bin/sh: 0: Illegal option -

Substituting the current (stable or dev) version of bootstrap-salt seems to progress properly (minus an issue already reported at https://github.com/saltstack/salt-bootstrap/issues/363).

denisura commented 10 years ago

Had the same issue. Changing line separators to LF (\n) solved the problem for me

claytondaley commented 10 years ago

Thanks! FYI... a little digging suggests that a .gitattributes entry could be added to a repo (personal or even salty-vagrant) to ensure that this doesn't affect future Windows users.