uvsmtid / common-salt-states

A framework of interrelated states and pillars on top of Saltstack common to other projects.
Apache License 2.0
2 stars 0 forks source link

Make Windows bootstrap script wrapper `bootstrap.ps1` accept path to config file rather than `project_name`, `profile_name`, `host_id` separately #32

Closed uvsmtid closed 8 years ago

uvsmtid commented 8 years ago

At the moment, Windows bootstrap script wrapper bootstrap.ps1 takes separate arguments for project_name, profile_name, host_id.

This complicates typing (as the file-based auto-completion is not available for separate parameters) and it is inconsistent with direct invocation of bootstrap.py (if it was on Linux).

Also, add two example scripts *.sh (for Linux) and *.cmd (for Windows) available inside bootstrap package as ready to be modified templates (instead of typing all arguments and output capture on the command line) - see deploy.md.

uvsmtid commented 8 years ago

The script arguments format unification between Windows and Linux was merged at d984d48c98669c18ee3651ab143e49c4bd0c5385.

The last step is to provide *.sh (Linux) and *.cmd (Windows) templates to avoid excessive typing while starting bootstrap script.

uvsmtid commented 8 years ago

The *.sh (Linux) and *.cmd (Windows) wrappers were also added at 6a2fa22df4cb2e15f116ccc6cc2a932ae449a6b5.

The task is done.