David Boucha
fe63f52c9e
Much mo' betta' query
2012-11-21 17:38:23 -07:00
David Boucha
caee950a55
Fix command example. Remove single quotes
2012-11-21 17:38:23 -07:00
David Boucha
1e3f75aa0c
Fetch one result when expecting one result
2012-11-21 17:38:23 -07:00
David Boucha
1a5127d68b
add json.dumps before inserting in database
2012-11-21 17:38:23 -07:00
David Boucha
49547f489b
Finished first draft of mysql returner
2012-11-21 17:38:23 -07:00
David Boucha
283b57ce01
Add json.dump of full return
2012-11-21 17:38:23 -07:00
David Boucha
8f215f14c3
Convert Redis Returner to MySQL Returner
...
returner works. still need to convert other functions
to work with mysql
2012-11-21 17:38:23 -07:00
Sean Channel
d805e6a01c
Merge pull request #2663 from seanchannel/develop
...
log changes
2012-11-21 16:19:47 -08:00
Sean Channel
a4cec067ea
log changes
2012-11-21 16:15:02 -08:00
Thomas S Hatch
613fc33121
Add option to pass in master opts directly to localclient
2012-11-21 16:48:18 -07:00
Thomas S Hatch
7292e48fc4
Merge pull request #2662 from seanchannel/develop
...
remove upstart files
2012-11-21 15:44:45 -08:00
Seth House
410a51742f
Fix auth_check to also work for compound commands
2012-11-21 15:24:56 -07:00
Sean Channel
51895d6b1b
remove upstart files
2012-11-21 14:16:59 -08:00
Sean Channel
113bfaa7c3
Merge pull request #2661 from seanchannel/develop
...
split up logrotate
2012-11-21 14:06:53 -08:00
Thomas S Hatch
302fd357b6
Merge pull request #2660 from techhat/extfs
...
Adding ext2/3/4 module to salt
2012-11-21 14:05:32 -08:00
Joseph Hall
961a159c1a
Adding ext2/3/4 module to salt
2012-11-21 15:04:25 -07:00
Sean Channel
75f1549fba
split up logrotate
2012-11-21 14:03:10 -08:00
Thomas S Hatch
b7ca2aa559
Merge pull request #2658 from seanchannel/develop
...
update runtime paths (deb/ubuntu pkg)
2012-11-21 13:23:46 -08:00
Sean Channel
f7eb7034ad
update runtime paths
2012-11-21 12:49:18 -08:00
Thomas S Hatch
c2f247ecce
Merge pull request #2656 from giantlock/develop
...
fix typo
2012-11-21 12:17:39 -08:00
Denis Generalov
220e9c9587
fix typo
2012-11-21 23:42:55 +04:00
Thomas S Hatch
c6f575ebed
Merge pull request #2652 from s0undt3ch/issues/2631
...
Fix #2631
2012-11-21 10:43:29 -08:00
Joseph Hall
6bf9a2bace
Updating to pep8
2012-11-21 10:40:26 -07:00
Joseph Hall
f9737fc43c
Formatting updates
2012-11-21 10:39:24 -07:00
Thomas S Hatch
2043c1c33f
Merge pull request #2651 from bclermont/fix-cwd-tar
...
add current working directory argument, to allow to extract tarball elsewhere than $HOME
2012-11-21 09:08:18 -08:00
Thomas S Hatch
70ddba361b
Merge pull request #2650 from s0undt3ch/develop
...
[tests] Py26 fix and SaltReturnAssertsMixIn helper + Pip runas requirements fix
2012-11-21 08:58:34 -08:00
Pedro Algarvio
e188d98e1f
No need to include runas
in the logic checking.
...
Both `modules.pip` and `states.virtualenv` have `is_cached` logic on the requirements file, one if called directly, the other to bailout as soon as possible.
2012-11-21 16:10:00 +00:00
Pedro Algarvio
2bbb691d20
Don't feed strings to grp
. Fixes #2631 .
...
* In case a string is passed to `salt.modules.gid_to_group()` an int cast is attempted, if it fails we try to get the id using `salt.modules.group_to_gid()` if that doesn't fail, continue code execution.
* PEP-8 Fixes.
2012-11-21 13:15:15 +00:00
Pedro Algarvio
cf03063bec
Improve SaltReturnAssertsMixIn
and move tests.integration.states.cmd
to use it.
...
* Implement `SaltReturnAssertsMixIn.assertSaltNoneReturn` used in `tests.integration.states.cmd`.
* Migrate `tests.integration.states.cmd` to use `SaltReturnAssertsMixIn`.
2012-11-21 12:43:53 +00:00
Pedro Algarvio
2010660d80
Move tests.integration.states.user
to use SaltReturnAssertsMixIn
.
2012-11-21 12:34:26 +00:00
Pedro Algarvio
3401445e8b
Expose what's happening behind the scenes for test_user_if_present_with_gid()
...
* Expose what's happening in `integration.states.user.UserTest.test_user_if_present_with_gid()`.
* Update code that was using the old `SaltReturnAssertsMixIn`.
2012-11-21 12:19:18 +00:00
Pedro Algarvio
1f03ba59f1
Extend tests.integration.SaltReturnAssertsMixIn
.
...
* Do proper type checking for salt calls, ie, a dict should be returned, if not, it's a failure, usually errors come as lists, show that to the user.
* Iterate through the salt call parts to make sure result is true, and if not, fail showing the part comment.
2012-11-21 12:16:17 +00:00
Bruno Clermont
91f1598dc8
add current working directory argument, to allow to extract tarball elsewhere than $HOME
2012-11-21 18:56:17 +08:00
Pedro Algarvio
04146f39f9
Tests wait timer is now colored(option to disable colors is also available), improves readability.
2012-11-21 10:01:45 +00:00
Pedro Algarvio
c6b00c59c1
Don't bother migrating configuration if does not exist.
2012-11-21 09:58:42 +00:00
Pedro Algarvio
73e29b6ba1
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-11-21 09:45:03 +00:00
Pedro Algarvio
495e7244c8
Fix pip requirements file permissions in case of non root runas
.
...
* In `salt.modules.pip.install()` we first check if file is already cached(in case being called from `salt.states.virtualenv.managed()`), if it's not, then try to cache it.
* If requirements and `runas` is passed, since `salt.fileclient`'s cache needs to be private, we create a temporary file with the contents of the requirements file, owned by the `runas` user, which then gets passed to the pip command.
* Always delete the user, even if test(`integration.states.virtualenv.VirtualenvTest.test_issue_1959_virtualenv_runas`) fails.
* Minor PEP-8.
2012-11-21 09:08:22 +00:00
Thomas S Hatch
e00d05e0ac
Fix bad call to the whoosh query system
2012-11-21 00:19:05 -07:00
Thomas S Hatch
cf7e9dfec0
Add new runner, search!
2012-11-21 00:15:44 -07:00
Thomas S Hatch
61f7a63cfc
Pass in correct args to the query function
2012-11-21 00:14:12 -07:00
Thomas S Hatch
a031243da3
Move writer forward in whoosh system
2012-11-20 23:53:32 -07:00
Thomas S Hatch
129c521fcc
Fix unicode reqs for search system
2012-11-20 23:52:11 -07:00
Thomas S Hatch
360e137e89
update the master search settings
2012-11-20 23:51:46 -07:00
Thomas S Hatch
13a1c92c19
fix name of search loader function
2012-11-20 22:47:32 -07:00
Thomas S Hatch
4e50d859d7
Fix typo in mongo future returner
2012-11-20 22:45:30 -07:00
Thomas S Hatch
473a789e7d
Add search to setup.py
2012-11-20 22:44:04 -07:00
Thomas S Hatch
d8ec4c24ba
Add search indexing to the master's job cleanup process
2012-11-20 22:40:52 -07:00
Thomas S Hatch
27398ed151
Add search to master defualts
2012-11-20 21:50:53 -07:00
Thomas S Hatch
6571e182e8
Add query function
2012-11-20 21:44:27 -07:00
Thomas S Hatch
a52e129bf0
start setting up a search backend
2012-11-20 17:57:55 -07:00