Commit Graph

61 Commits

Author SHA1 Message Date
Anthony Shaw
bbb5efb308 refactor the code to not use cookiecutter (1) 2016-07-27 09:39:54 +10:00
Anthony Shaw
aacd253c4c
explain what the command does 2016-07-25 13:59:07 +10:00
Anthony Shaw
df2d4f7798
name the arguments and allow description to be set on command line 2016-07-25 13:45:13 +10:00
Anthony Shaw
9dac0c76c7
take args from command line 2016-07-25 10:54:39 +10:00
Anthony Shaw
ee3ea218f8 renamed to extend, read module name and description at prompt 2016-07-25 09:40:02 +10:00
Anthony Shaw
ad77f799df
renamed the quickstart to extend 2016-07-25 09:01:09 +10:00
Anthony Shaw
d3016f0055
ask basic question 2016-07-24 20:59:49 +10:00
Anthony Shaw
c11f2349b1
import cookiecutter if installed and ask a basic question 2016-07-24 20:34:36 +10:00
C. R. Oldham
abdbbb6325 Begin modifying proxy to be called from command line. 2015-08-13 15:22:43 -06:00
rallytime
abfae94e1d Started changing Beryllium references to 2015.8.0 2015-07-08 10:01:03 -06:00
Joseph Hall
8e1bebfc92 Add versionadded 2015-06-23 09:31:21 -06:00
Joseph Hall
4a95b11652 Initial commit of Salt Package Manager 2015-06-23 09:31:21 -06:00
Sergey Kizunov
57fba60eda Make extensionless scripts runable in Windows
Previously, to make these run on Windows, I added the '.py'
extension. For example 'salt-master' => 'salt-master.py'

If this wasn't done, you would get an exception that looks like this
when spawning an addition process:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    File "C:\salt\bin\lib\multiprocessing\forking.py",
    line 380, in main
        prepare(preparation_data)
          File "C:\salt\bin\lib\multiprocessing\forking.py",
          line 489, in prepare
              file, path_name, etc = imp.find_module(main_name, dirs)
              ImportError: No module named salt-master

Instead of adding the '.py' extension, I found another work-around that
seems to avoid the issue. The details are described in the file comments.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-05-15 20:04:55 -05:00
Justin Findlay
8605281629 mv zsh completion to pkg/
fix #19892
2015-02-04 13:50:35 -07:00
Colton Myers
9a89057f83 Merge branch '2014.7' into merge-forward
Conflicts:
	salt/transport/__init__.py
2014-11-13 12:40:24 -07:00
Mathieu Le Marec - Pasquet
dafb765ad6 factorize call 2014-11-11 17:43:05 +01:00
steve
d13c7275a7 show_timeouts, new default 2014-08-14 13:10:52 -04:00
Chris Rebert
177c168a21 Fix numerous typos found via Lintian
Thanks https://github.com/Debian/lintian/tree/master/data/spelling !
2014-08-11 10:46:43 -07:00
Seth House
53bab586f4 Merged salt-api into Salt
Woot!

The conflicts below are intentional because they contained salt-api-isms
that needed to be included into the corresponding Salt files.

Conflicts:
	debian/changelog
	debian/control
	doc/conf.py
	doc/index.rst
	opt_requirements.txt
	salt/config.py
	salt/loader.py
2014-06-18 22:13:56 -06:00
Pedro Algarvio
7bd8b1360f Remove remaining exsel code 2014-05-29 01:32:54 +01:00
Daniel Wallace
8eb99c846b Add zshell completion for salt salt-call and salt-cp
I will do bash completion soonish
2014-05-19 00:41:09 -05:00
Thomas Jackson
963effa0ea rest_tornado
An async implementation of the salt api
2014-04-14 21:12:07 -07:00
Thomas S Hatch
b483ff7323 Add salt-unity script
This script allows all salt commands to be called from a single top level
shell script
2014-02-26 15:15:36 -07:00
Thomas S Hatch
5de4e73d4d Modernize the salt-cloud script 2013-11-08 14:11:27 -07:00
Joseph Hall
62a8e31809 Pointing salt-cloud script to new correct location 2013-11-08 14:09:18 -07:00
Joseph Hall
9f3fcfe64f Moving salt-cloud script into proper location 2013-11-08 14:08:34 -07:00
Thomas S Hatch
9b40510bb2 Add salt-ssh script 2013-07-01 15:48:23 -06:00
Onur Yalazı
88ec4ec97f Updated hashbangs with /usr/bin/env for virtual environment installs 2013-01-03 11:36:51 +02:00
Thomas S Hatch
760d3f6720 clean up loader module 2012-09-24 14:45:36 -06:00
Thomas S Hatch
8f03f76b43 Add scripts 2012-09-24 13:21:59 -06:00
Aaron Tygart
a05911d985 Add freeze_support on salt-minion script 2012-09-10 14:13:02 -05:00
E.G. Galano
ed4658a7a4 Change salt-syndic exec script to instantiate a syndic class rather than a minion. Fixing the bug introduced in ee0072d3e8 2012-07-10 18:10:17 -07:00
Benoit Bryon
ee0072d3e8 Updated setup(): use setuptools' console_scripts if available, else fallback to distutils' scripts. Refs #1028. 2012-06-05 12:00:20 +02:00
Corey Quinn
dfd82ad0bd Debian/Ubuntu package for upstream acceptance
Applying latest changes for packaging

Fixed typos in man pages

Latest round of changes

More packaging fixups

Fixed salt-common typo

Fixed wildcarding in install files

Removed extra man pages

Removed trailing slash

Fixed links

Moved binaries to proper packages

Fixed man pages

Pathing

Perms tweak

Missing files

Fixed spacing

Fixed another lintian error

build the msgpack stuff

Updating rules and install files

Fixed shebang

Control updates

Fixed copyright file

Fixed lintian

Fixed overrides

cmd.retcode no longer uses subprocess.call since it is broken

fix issue with source_hash and trailing whitespace

Bye-bye pickle, hello msgpack

Add docs for new source powers

Add support for source_hash to be a source hash string

add pure python template type

add return clarifying that no states were found if no states are found

change some strings to use format

add code to cache jobs on the minion if option is set

serialize cache data

was caching the wrong line data

Add cache_jobs to the minion config template

add docs for new config param cache_jobs

make the minions return to the master in addition to returning to
returners

Add capability to designate multiple returns

only run the apache module if apachectl is installed

only load solr module if solr is installed

Debug statement used the wrong variable.

Only load nginx on machines that have nginx installed

Make it more like the apache module
2012-01-18 12:15:01 -08:00
Jeff Schroeder
f02cb42be3 Gracefully print an error when running salt-call as non-root
Fixes #438

This also sets a default "level" argument to setup_console_logger()
to error which it already does when the level isn't in the dict.
2012-01-07 22:03:41 -08:00
Corey Quinn
3e79767c25 Merge branch 'develop' of github.com:KB1JWQ/salt into KB1JWQ 2011-12-30 11:58:03 -08:00
Jeff Schroeder
bb0629e690 Handle Ctrl-c on the syndic or regular minion and log it
- Log a message when the syndic or minion is exiting
    - Cleanly exit and use the same message on all daemons
    - Add places to handle a sigterm or sighup by KeyboardInterrupt
2011-12-27 17:00:52 -08:00
Corey Quinn
e5f5bb3c2b Set the scripts to be executable 2011-12-27 12:02:09 -08:00
Jeff Schroeder
021cebbbf3 Teach all non-daemon scripts how to cleanly exit on CTRL-c
Using: raise SystemExit('some message')

is equivalent to:
sys.stderr.write('some message\n')
sys.exit(1)
2011-12-20 19:09:27 -08:00
Markus Gattol
38e5d2b2cb file permissions: from 775 to 755
Signed-off-by: Markus Gattol <markus.gattol@sunoano.org>
2011-11-14 15:49:06 +00:00
Thomas S Hatch
010de4ee59 fix typo in salt-key docstring 2011-08-14 22:38:13 -06:00
Thomas S Hatch
507f7a085a fix docstring on salt-call script 2011-08-14 22:37:40 -06:00
Thomas S Hatch
6367f05cb7 Fix docstring for salt-minion 2011-08-14 22:36:43 -06:00
Erik Nolte
86213377df Move salt-monitor scripts and packaging to salt-monitor project 2011-08-10 11:20:33 -06:00
Thomas S Hatch
6f70eb3e2c Add salt-syndic script 2011-07-30 16:08:55 -06:00
Erik Nolte
74fab8b706 Separate the salt minion from the salt monitor by creating the salt-monitor standalone command.
Run 'salt-monitor' rather than 'salt-minion' to start the monitor.
2011-07-27 15:57:13 -06:00
Thomas S Hatch
f069cc5fd1 Salt minion dies with a ctrl-c now 2011-07-09 15:37:35 -06:00
Thomas S Hatch
a7ae966b6f Add the salt-run srcipt 2011-06-02 21:37:02 -06:00
Thomas S Hatch
9f2f1a8320 remove comments from scripts, they don't need to be there 2011-05-26 09:44:50 -06:00
Pedro Algarvio
7ccb5e4cec Typos, white-space, unused/missing imports, wrapping, PEP-8. 2011-05-26 12:17:02 +01:00