Thomas S Hatch
5f49a49a67
Instruct ext_job_cache to initiate the returner on function calls
2012-11-04 21:08:18 -07:00
Thomas S Hatch
f6d7d9546c
Add a space to jobs runner between functions
2012-11-04 21:08:18 -07:00
Thomas S Hatch
65384a8440
brush up returner module to work, tested with the redis returner
2012-11-04 21:08:17 -07:00
Thomas S Hatch
7424d3379b
Add returner module to gather return data from a returner database
2012-11-04 21:08:17 -07:00
Thomas S Hatch
4b3fc92b5d
Add redis get_jid and get)fun returner functions
2012-11-04 21:08:17 -07:00
Thomas S Hatch
4d886d6583
update print statements to be functions
2012-11-04 21:08:17 -07:00
Thomas S Hatch
c948ba5beb
kill stray print statement
2012-11-04 21:08:17 -07:00
Thomas S Hatch
5b0cf5e3b9
fix string to be .format
2012-11-04 21:08:17 -07:00
Thomas S Hatch
9c9e95c6eb
Fix more exception syntax
2012-11-04 21:08:17 -07:00
Thomas S Hatch
9f4665a00a
fix another exception syntax in the pip state
2012-11-04 21:08:17 -07:00
Thomas S Hatch
dc35881213
Found another in the git state
2012-11-04 21:08:17 -07:00
Thomas S Hatch
0035820c06
Fix exception handle in git state
2012-11-04 21:08:17 -07:00
Thomas S Hatch
b23ac03570
Another exception update
2012-11-04 21:08:17 -07:00
Thomas S Hatch
b0dee7ab2d
Another commit error
2012-11-04 21:08:16 -07:00
Thomas S Hatch
0d8ed64963
update syntax to exception check
2012-11-04 21:08:16 -07:00
Thomas S Hatch
7d91473fe1
Add a .format string to pillar_ldap
2012-11-04 21:08:16 -07:00
Thomas S Hatch
38e6a6ca79
Add mongo future returner
2012-11-04 21:08:16 -07:00
Thomas S Hatch
d25fca72ab
change the redis returner to be called just redis
2012-11-04 21:08:16 -07:00
Thomas S Hatch
d1bcfe73ec
Merge pull request #2446 from archtaku/yumpkg5_file
...
Add ability to install pkg from file (yumpkg5)
2012-11-04 19:33:03 -08:00
Thomas S Hatch
3de39388d6
Merge pull request #2445 from twinshadow/state-svn
...
Add the state file for Subversion
2012-11-04 19:30:12 -08:00
Erik Johnson
e42b9d27ad
Add ability to install pkg from file (yumpkg5)
2012-11-04 21:22:07 -06:00
Anthony Cornehl
f943850ca0
Final pass for lint
2012-11-04 19:03:41 -08:00
Anthony Cornehl
8b19defab3
Updated state based on testing
2012-11-04 18:44:32 -08:00
Thomas S Hatch
995b068481
Merge pull request #2444 from giantlock/develop
...
virtualization detection fix for freebsd/jail
2012-11-04 15:21:41 -08:00
Anthony Cornehl
63d5b50229
Stub out new state
2012-11-04 14:56:10 -08:00
Anthony Cornehl
2cc001d5de
Adding the state for SVN
2012-11-04 14:45:16 -08:00
Denis Generalov
dbd14623c7
sysctl -n security.jail.jailed always return non empty string and we should evaluate this string
2012-11-05 02:31:13 +04:00
David Boucha
cf8edd88b1
Merge pull request #2442 from petersanchez/8254405f81dca442ef0982a5055a7150d5d6bcae
...
Fix of vague permissions failure error when starting salt-master
2012-11-04 13:38:19 -08:00
Peter Sanchez
8254405f81
Exception switch to OSError. More specific error message upon PID file change ownership failure. #2440
2012-11-04 12:16:18 -08:00
Thomas S Hatch
04545815ef
Merge pull request #2439 from s0undt3ch/develop
...
Fix tests.
2012-11-04 09:29:02 -08:00
Thomas S Hatch
fe4387c2a5
Merge pull request #2438 from twinshadow/module-svn
...
Add a module for SVN
2012-11-04 09:27:23 -08:00
Pedro Algarvio
4d38754f38
Uncomment required line.
2012-11-04 12:22:46 +00:00
Pedro Algarvio
8fa59505c7
Have travis-ci install rabbitmq-server
to run tests for it.
2012-11-04 11:54:21 +00:00
Pedro Algarvio
a1696c17d8
Finish fix of last commit.
2012-11-04 11:53:59 +00:00
Pedro Algarvio
33fa855bc4
We're apparently unable to have an empty last line in yaml literal strings.
2012-11-04 11:46:00 +00:00
Pedro Algarvio
5af62d01ac
Fix integration.modules.state.StateModuleTest.test_issue_1896_file_append_source
and still maintaining an empty line check.
2012-11-04 11:35:23 +00:00
Pedro Algarvio
3de32be0c9
Fix integration.shell.call.CallTest.test_default_output()
.
2012-11-04 10:29:07 +00:00
Pedro Algarvio
0cad15e299
Fix integration.runners.jobs
tests.
2012-11-04 10:22:18 +00:00
Pedro Algarvio
2053c03843
Fix key shell tests to match outputter changes.
2012-11-04 10:08:30 +00:00
Pedro Algarvio
6448dd87da
Some fixes on the git state tests.
...
* Always remove the repository directory.
* When testing recursive with git 1.7.9.5, we cannot test for a directory because it's a plain file with the contents:
gitdir: /tmp/salt-tests-tmpdir/salt_repo/.git/modules/vendor/modules/js/receiptverifier
2012-11-04 09:58:05 +00:00
Anthony Cornehl
97a973b957
Fix remove to include commit message, docstring corrections
2012-11-04 00:45:14 -07:00
Anthony Cornehl
f471df7f80
don't append into lists
2012-11-04 00:18:17 -07:00
Anthony Cornehl
4413ba2878
Add more docstring, cleanups
2012-11-04 00:09:46 -07:00
Anthony Cornehl
8ef91f4b62
Updates from testing
2012-11-03 23:13:38 -07:00
Thomas S Hatch
26cc7ff467
Merge pull request #2437 from SEJeff/random-module-updates
...
Random module updates v2
2012-11-03 23:04:02 -07:00
Jeff Schroeder
5c4309621c
salt.modules.nginx: some trivial cleanups
...
- Always use the full path to the nginx binary via: which('nginx')
- Use the new memoize utils function to cache the full path to nginx
2012-11-03 22:32:09 -07:00
Jeff Schroeder
025dcdaa6a
Add salt.utils.memoize() to cache return output
...
I looked at several ways to do this and played with it a bit. This
was the shortest and most concise. It seems like there might be some
other places to do it, so I added it as a utility function.
2012-11-03 22:18:57 -07:00
Jeff Schroeder
4c26f60049
salt.modules.freebsdjail: make this module a bit more resilient
...
- Use with statement for some opens to not have issues wtih
dangling file handles kept open by the python interpreter
- Switch checks from os.path.isfile() and then blindly opening
to os.access(fname, os.R_OK), which will return False nicely
if permission is denied *or* the file doesn't exist, preventing
unlikely yet potential unhandled tracebacks
2012-11-03 21:57:17 -07:00
Jeff Schroeder
570d6b1db9
cmd.run strips output by default
...
No point in duplicating things more than necessary. Found with:
git grep -E "__salt__\['cmd\.ru.*'\]\(.*\)\.strip\(\)"
2012-11-03 21:36:51 -07:00
Jeff Schroeder
2bc78460db
Automated cleanup converting str.split('\n') --> str.splitlines()
...
Performed with this command from the top-level source tree:
find -name '*.py' -type f | xargs sed -r -i "s/\.split\('\\\n'\)/.splitlines()/g"
2012-11-03 21:25:11 -07:00