Jeff Schroeder
5d38e271c2
salt.modules.linux_sysctl: make file reads/writes more robust
...
- Use the maxsplit parameter on all str.split() calls
- Wrap all file access in try/except and with statements
2012-11-10 23:40:24 -08:00
Thomas S Hatch
5231d8ca9d
Fix #923
...
This detects recursive requisites as the happen, since it was
proven difficult to do so within the verification
2012-11-11 00:23:11 -07:00
Jeff Schroeder
ff9ab11c03
mount module: Raise an exception when ldd isn't available in is_fuse_exec()
2012-11-10 22:52:34 -08:00
Jeff Schroeder
e01c3d52b1
salt.modules.mount: relatively major robustness cleanup
...
- Make is_fuse_exec() actually work and remove code from it
- Wrap all open() calls in try/except and use a with statement
2012-11-10 22:49:30 -08:00
Jack Kuan
55235792f7
Use salt's verify_high() for checking salt file errors.
2012-11-11 01:45:06 -05:00
Thomas S Hatch
afe2279cf0
Fix #2377
2012-11-10 23:28:42 -07:00
Jeff Schroeder
c9aa9ad4c4
salt.modules.grub: Fix some silliness from my previous commit
2012-11-10 22:04:06 -08:00
Jeff Schroeder
48228fd91a
salt.modules.grub: Fix some bugs and move from boot to grub
...
Since it makes sense to have separate grub/grub2, syslinux, and lilo
modules because things like conf keys will be TOTALLY different, move
the name from boot to grub.
Use a with statement for reading the config file and also wrap it all
up in a fancy try/except that raises CommandExecutionError on issue.
2012-11-10 21:52:49 -08:00
Jeff Schroeder
152f610e32
salt.utils.yum*: clean up __virtual__() to use os_family grain
...
Fixes #2294
2012-11-10 21:52:49 -08:00
Jeff Schroeder
a3109cd2ad
salt.modules.grub: Fix some bugs and move from boot to grub
...
Since it makes sense to have separate grub/grub2, syslinux, and lilo
modules because things like conf keys will be TOTALLY different, move
the name from boot to grub.
Use a with statement for reading the config file and also wrap it all
up in a fancy try/except that raises CommandExecutionError on issue.
2012-11-10 21:49:46 -08:00
Jeff Schroeder
74767a6d33
salt.utils.yum*: clean up __virtual__() to use os_family grain
...
Fixes #2294
2012-11-10 21:34:10 -08:00
Thomas S Hatch
4afe355d87
Use often instead of must
2012-11-10 22:06:16 -07:00
Jack Kuan
90c3face21
Update the use of template function to match changed call signature.
2012-11-10 23:24:13 -05:00
Jack Kuan
0931455721
Merge branch 'develop', remote-tracking branch 'origin' into sls_render_pipe
2012-11-10 23:06:14 -05:00
Jack Kuan
a929734bc1
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-11-10 22:57:45 -05:00
Jack Kuan
15ddcfc194
Now ignore include and extend for name declaration rewrite.
2012-11-10 22:56:51 -05:00
Thomas S Hatch
084694a6ec
Fix #2503
2012-11-10 20:53:09 -07:00
Thomas S Hatch
fa6aca4ea8
Fix #2513
...
This is embarasing, looks like the wrong backend function was being used
2012-11-10 20:49:58 -07:00
Jack Kuan
1ea1930e8e
Add support for names declaration.
2012-11-10 22:11:24 -05:00
Thomas S Hatch
516a8e446e
Merge pull request #2517 from techhat/openstack
...
Adding image_create, image_delete, image_show to openstack glance
2012-11-10 15:12:22 -08:00
Joseph Hall
37fc5a8b84
Adding image_create, image_delete, image_show to openstack glance
2012-11-10 15:05:54 -07:00
David Boucha
2b125f9941
Merge pull request #2516 from giantlock/develop
...
Doc fix for pull request #2505
2012-11-10 13:02:27 -08:00
Denis Generalov
5652b1f902
splited -> separated
...
Thanks @UtahDave
2012-11-11 00:59:02 +04:00
Denis Generalov
a423567efa
Doc fix for pull request #2505
2012-11-11 00:48:04 +04:00
David Boucha
457e531d99
Merge pull request #2515 from bclermont/postgres_error
...
handle invalid output here too
2012-11-10 11:47:36 -08:00
Bruno Clermont
64821c63ae
handle invalid output here too
2012-11-11 03:45:02 +08:00
David Boucha
cefce3c3b7
Merge pull request #2514 from bclermont/postgres_error
...
handle psql error
2012-11-10 11:38:10 -08:00
Bruno Clermont
4e34081bb4
handle psql error
2012-11-11 03:33:31 +08:00
Sean Channel
7f673796e6
no depend on libjs-sphinxdoc
2012-11-10 11:18:10 -08:00
David Boucha
d2a629e063
Merge pull request #2511 from UtahDave/develop
...
use format instead of string join.
2012-11-10 10:52:44 -08:00
David Boucha
39ac74cac0
use format instead of string join.
...
per s0undtech's suggestion. Much cleaner
2012-11-10 10:00:10 -07:00
Pedro Algarvio
63f9e9448e
Merge pull request #2510 from s0undt3ch/develop
...
String join has only one argument, a list to join.
2012-11-10 04:06:06 -08:00
Pedro Algarvio
4cc2f0059e
String join has only one argument, a list to join.
2012-11-10 12:04:34 +00:00
Sean Channel
422244cd84
remove sphinx version
2012-11-10 00:03:53 -08:00
Sean Channel
d13dbf0fc2
spec. minimum sphinx version
2012-11-09 23:48:00 -08:00
Sean Channel
cfc44ee517
specify sphinx version for builds
2012-11-09 23:16:31 -08:00
Thomas S Hatch
592ab0b73a
Change the lookup index to 0
2012-11-09 23:56:06 -07:00
Thomas S Hatch
9a9e8241f0
Add pillar.raw function to verify that the __pilar__ is loaded
2012-11-09 23:44:48 -07:00
Thomas S Hatch
9031c606cb
Move pillar generation in minion to repair __pillar__ bug
2012-11-09 23:06:22 -07:00
Thomas S Hatch
bf98db83bb
Rename the returner module to ret
2012-11-09 22:17:54 -07:00
Thomas S Hatch
20b32abab1
Another reference to id in the grains
2012-11-09 22:02:11 -07:00
Thomas S Hatch
592210afa4
Merge pull request #2507 from UtahDave/minion_dns
...
Fixes #2064 Add option for minion to retry dns resolution
2012-11-09 20:55:01 -08:00
Thomas S Hatch
3e09839529
Run get on the if value to repair master minion
2012-11-09 21:41:14 -07:00
saltstack
0acbde29ac
Move the dns retry loop to config.py
2012-11-09 21:10:59 -07:00
David Boucha
d4f7f5cac5
Add option to have minion retry dns
...
If name resolution fails when the minion starts, allow the minion
to retry dns resolution after a configurable number of seconds.
Defaults to 30 seconds.
Add retry_dns option to minion config.
2012-11-09 21:10:59 -07:00
Sean Channel
9049ef6de9
Merge pull request #2506 from seanchannel/develop
...
generate HTML doc package also
2012-11-09 15:39:13 -08:00
Sean Channel
8c5675fb88
generate HTML doc package also
2012-11-09 15:28:46 -08:00
Thomas S Hatch
07a895646d
Merge pull request #2505 from giantlock/develop
...
Feature for file module
2012-11-09 14:57:50 -08:00
Denis Generalov
ebd31d108d
This patch bring an opportunity to have checksums for several files in one file for source_hash check.
...
Original behavior is also kept.
2012-11-10 02:02:07 +04:00
Thomas S Hatch
ab9908177d
Merge pull request #2504 from FireHost/yum_error_logger_tidy
...
Remove _YumErrorLogger's inheritance
2012-11-09 13:21:19 -08:00