Commit Graph

6511 Commits

Author SHA1 Message Date
Pedro Algarvio
5e1b85ffb2 Some more changes for the code formatting audit. 2012-09-22 12:13:17 +01:00
Pedro Algarvio
6173bedfa7 Some more source code formatting audit changes. 2012-09-22 11:14:46 +01:00
Pedro Algarvio
7f4203d5e1 Fix code introduced from previous source code audit. 2012-09-22 11:14:02 +01:00
Thomas S Hatch
f1972b2624 Merge pull request #2056 from seanchannel/develop
add backup_mode to minion config and config reference
2012-09-21 19:14:04 -07:00
Sean Channel
974a7042ed add backup_mode to minion config and config reference 2012-09-21 18:48:41 -07:00
Thomas S Hatch
05429b870a Merge pull request #2055 from s0undt3ch/develop
Source code formatting audit.
2012-09-21 16:44:07 -07:00
Pedro Algarvio
29aa2444e5 Source code formatting audit.
* Substitute all `%` string operations with python's `string.format()`. There are still some `%` string operations left behind on some specific cases which will be evaluated in order to keep **all** string operation using `format()`. More info on http://docs.python.org/library/string.html#formatstrings
* PEP-8 corrections.
* Add space after commas(`,`), for example:
	x, y = foo.split()
	'{0} {1}'.format(foo, bar)
* Pyflakes corrections.
* Favor single quotes over double quotes.
* Minor typos.
2012-09-21 23:21:28 +01:00
Thomas S Hatch
6b742b4004 Merge pull request #2050 from seanchannel/patch-9
change location of sock dir
2012-09-20 16:50:31 -07:00
Sean Channel
f384b5d194 change location of sock dir
per issue #2044 / commit 075c754 

here also
2012-09-20 16:49:04 -07:00
Thomas S Hatch
25f9c5386a Merge pull request #2046 from FireHost/windows_multiprocessing
Windows multiprocessing support and Esky bugfixes
2012-09-20 16:49:03 -07:00
Thomas S Hatch
6e0d3f22e2 Merge pull request #2049 from seanchannel/patch-8
change location of sock dir
2012-09-20 16:48:30 -07:00
Sean Channel
e204440766 change location of sock dir
per issue #2044 / commit 075c754
2012-09-20 16:46:06 -07:00
Thomas S Hatch
2a0ce1f26c Merge branch 'develop' of github.com:saltstack/salt into develop 2012-09-20 13:36:45 -06:00
Thomas S Hatch
9bfe0bb95f Set startup_states in the release notes 2012-09-20 13:34:54 -06:00
Pedro Algarvio
0a9b0b3e08 Merge branch 'develop' of github.com:saltstack/salt into issues/2028 2012-09-20 19:33:00 +01:00
Pedro Algarvio
6640e9581d Merge branch 'develop' of github.com:saltstack/salt into develop 2012-09-20 19:29:49 +01:00
Pedro Algarvio
94b9decdb7 If it's not a dict, it should not be treated like one. 2012-09-20 19:27:45 +01:00
Pedro Algarvio
39af3fb5d6 Fix the test-cases custom logging handler.
* Even when the tests logging handler stream is directed to `/dev/null` we still need a low logging level so that our custom logging handler, used to see if certain log messages are emitted or not, catches messages.
2012-09-20 19:27:32 +01:00
Thomas S Hatch
528600692b Add docs for the new startup_states option 2012-09-20 12:22:12 -06:00
Pedro Algarvio
62446308ff Fix the test-cases custom logging handler.
* Even when the tests logging handler stream is directed to `/dev/null` we still need a low logging level so that our custom logging handler, used to see if certain log messages are emitted or not, catches messages.
2012-09-20 19:16:20 +01:00
Thomas S Hatch
06db85a9fe Add startup states options to config.py 2012-09-20 11:52:48 -06:00
Thomas S Hatch
0b9fe9c8d9 Add the capability to run states when the minion starts 2012-09-20 11:45:03 -06:00
Thomas S Hatch
e66ebc7621 Allow minions to send a return that requests a jid 2012-09-20 11:19:24 -06:00
Thomas S Hatch
d76f051610 dd some more docs making the order to requitie relationship
a little more clear
2012-09-20 09:39:16 -06:00
Thomas S Hatch
075c75425e Change the default sock_dir to /var/run/salt, because that is correct 2012-09-20 09:31:59 -06:00
Aaron Tygart
bf31beac91 Merge branch 'upstream/develop' into windows_multiprocessing 2012-09-19 20:39:26 -05:00
Aaron Tygart
876fb9ec4e Add difflib and distribute to bbfreeze includes 2012-09-19 20:35:14 -05:00
Aaron Tygart
5aee1e7ad9 Add windows support for open file count 2012-09-19 18:06:07 -05:00
Aaron Tygart
4020d45984 Correct non-frozen attempted update error 2012-09-19 18:05:41 -05:00
Thomas S Hatch
0fadfd0bde Merge pull request #2045 from giantlock/develop
Some fixes for freebsdpkg module
2012-09-19 15:58:18 -07:00
Aaron Tygart
fe60027da1 Merge branch 'fh-upstream/develop' into windows_multiprocessing 2012-09-19 17:20:04 -05:00
Aaron Tygart
41bc763e3f Revise returned data for saltutil.update
* Fix bug that would throw exceptions for attempting to uninstall the
   currently running version
2012-09-19 17:11:01 -05:00
Denis Generalov
74398d19fd *) Make install() definition similar with order package modules
*) Handle refresh param in install()
*) Fix upgrade(): freebsd-update does'nt care about packages, it's about OS itself. But there is not easy way to upgrade package with old package system.
*) Fix docstring example in search()
*) Bring the changes above to the man page
2012-09-20 02:05:14 +04:00
Thomas S Hatch
543f7c6bc9 Fix error cause by django module renaming 2012-09-19 14:52:36 -06:00
Thomas S Hatch
2dc5ebb80e Fix event test with the change in master events returning a dict 2012-09-19 14:42:48 -06:00
Thomas S Hatch
6de9939768 Fix another test for new hased minion ids 2012-09-19 14:39:01 -06:00
Thomas S Hatch
a3e7a3a7af fix test based on new minion event socket names 2012-09-19 14:21:56 -06:00
Thomas S Hatch
2b8320eb49 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-09-19 13:24:23 -06:00
Thomas S Hatch
3a0a4125d6 Change the socket to use a hash of the minion id 2012-09-19 13:23:55 -06:00
Thomas S Hatch
07fdb35cd7 Merge pull request #2043 from gekitsuu/develop
Made the docstring a bit clearer about the format of the key. Commonly
2012-09-19 10:46:37 -07:00
Adam Glenn
a7745b4578 Made the docstring a bit clearer about the format of the key. Commonly
if you are copying this from our .ssh/id_rsa.pub you will have the
type of key and user@host at the beginning and end of the key. The
"Invalid" message returned from set_auth_key isn't clear about why
the key is invalid, or that it's the key specifically it's complaining
about and not the user, type, or something else if it was passed.
2012-09-19 12:26:20 -04:00
Aaron Tygart
2d77d969d3 Add logging and correct pathing issues on Windows
* Add logging to much of the sls caching stack
* Correct path separator issues on Windows
* Remove unecessary call to jinja's split_template_path
2012-09-18 21:15:29 -05:00
Thomas S Hatch
36b5f5ebb6 Merge pull request #2041 from giantlock/develop
Handle repo argument as described in documentation.
2012-09-18 16:31:41 -07:00
Denis Generalov
50dbc3a3a1 Handle repo argument as described in documentation. 2012-09-19 03:14:14 +04:00
Thomas S Hatch
9a9896858b Merge pull request #2040 from giantlock/develop
fix typo
2012-09-18 15:27:06 -07:00
Denis Generalov
f514bd6851 fix typo 2012-09-19 02:17:18 +04:00
Thomas S Hatch
0cff0e4976 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-09-18 15:29:00 -06:00
Thomas S Hatch
47d6922548 Allow the minion config to have "allow_undefined" set
We could add the ability to pass the data through from an option
in the state file itself, but this just pulls from the minion config
Fix #2039
2012-09-18 15:21:53 -06:00
Thomas S Hatch
95e5e73226 Merge pull request #2038 from fatbox/fix-django
The addition of the django module breaks using a django app from other modules
2012-09-18 13:38:01 -07:00
Aaron Tygart
0012024c63 Add additional modules for freezing on windows 2012-09-18 15:35:38 -05:00