Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Salt install/configure Vagrant 1.8 compatible #180

Merged
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Make getopt usage OS X compatible

OS X does not use GNU getopt but rather BSD getopt, which is less
friendly. Update getopt usage and argument parsing to be portable.
  • Loading branch information
aneeshusa committed Feb 5, 2016
commit 36b881ee53fe705ebf8c94290f160dc5645aa87f
@@ -28,7 +28,7 @@ configure_salt () {
sudo cp "${FORCE_FLAG}" -- "${TEMPORARY_CONFIG_DIR}/minion" /etc/salt/minion
}

OPTIONS=$(getopt --options 'c:F' --name "$0" --shell sh -- "$@")
OPTIONS=$(getopt 'c:F' "$@")

eval set -- "${OPTIONS}"

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.