import cookiecutter if installed and ask a basic question

This commit is contained in:
Anthony Shaw 2016-07-24 20:34:36 +10:00
parent 0f0aae86e8
commit c11f2349b1
No known key found for this signature in database
GPG key ID: AB4A19AE1CE85744
2 changed files with 11 additions and 1 deletions

View file

@ -505,4 +505,4 @@ def salt_quickstart():
.. versionadded:: Carbon
'''
import salt.utils.quickstart
quickstart.run()
salt.utils.quickstart.run()

10
scripts/salt-quickstart Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python
'''
Quickstart for creating an/or extending the functionality of your SaltStack installation
'''
from salt.scripts import salt_quickstart
if __name__ == '__main__':
salt_quickstart()