Commit Graph

7829 Commits

Author SHA1 Message Date
Pedro Algarvio
6ab3eb25b1 Add missing import. 2012-11-14 11:59:31 +00:00
Pedro Algarvio
bc3f67f3ac Added salt.utils.mkstemp() as a helper.
Will ease the use of `fd_, fpath = tempfile.mkstemp(); os.close(fd_)`.
2012-11-14 11:54:04 +00:00
Pedro Algarvio
a7b523ac67 Switch open calls to our fopen call which sets CLOEXEC on the fd. 2012-11-14 11:30:56 +00:00
Thomas S Hatch
15a7ef0bb5 Add check for existing state runs 2012-11-14 00:02:33 -07:00
Thomas S Hatch
b3df2b495e Add is_running function to saltutil 2012-11-13 23:46:50 -07:00
Thomas S Hatch
716c2cecec clean up some strings and update esky update to use config.option 2012-11-13 23:37:42 -07:00
Thomas S Hatch
89d722f06f Use with statements when opening files 2012-11-13 23:26:42 -07:00
Thomas S Hatch
29261a2b0a fix docstring 2012-11-13 23:22:27 -07:00
Thomas S Hatch
9bf5629eba Clean up some oversights in caller.py 2012-11-13 23:07:07 -07:00
Thomas S Hatch
ec17974661 Make salt-call register to the job cache 2012-11-13 23:00:30 -07:00
Thomas S Hatch
36d1405fd0 Open file with with statement 2012-11-13 22:46:08 -07:00
Thomas S Hatch
71efcf68d7 Add Some initial docs to stateconf 2012-11-13 20:55:40 -07:00
Thomas S Hatch
326904e020 An easy fix on opening files 2012-11-13 20:55:40 -07:00
Thomas S Hatch
32e447e248 Merge pull request #2546 from archtaku/develop
Fix "variable referenced before assignment"
2012-11-13 19:50:20 -08:00
Erik Johnson
f6464432d4 Fix "variable referenced before assignment"
I inadvertently introduced a bug when I made changes to this module
a couple days ago. All repo-based installs would fail because of this
UnboundLocalError exception. I did not catch this because I only tested
package installs from an RPM file. Needless to say, I will be more
thorough in my future testing.

Also, I had changed the variable "sources" to "source" to match the
other package providers, but it was decided that other package providers
should be modified to accept multiple sources (currently, yumpkg.py is
the only provider with this feature). So, I have reverted that earlier
change and the kwarg is now called "sources" again. Sorry for the
back-and-forth with this.
2012-11-13 21:39:46 -06:00
Thomas S Hatch
48fd305391 Merge pull request #2544 from kjkuan/develop
sls_render_pipe merge clean ups
2012-11-13 19:29:39 -08:00
Sean Channel
8f8d16c07c delete respawn 2012-11-13 18:46:05 -08:00
Sean Channel
bd68bf7a84 remove extra unused old README 2012-11-13 18:43:59 -08:00
Sean Channel
bd2818797c remove useless postrm scripts 2012-11-13 18:21:56 -08:00
Sean Channel
5aa00b6bdd only run postrm on salt-common purge 2012-11-13 18:06:49 -08:00
Thomas S Hatch
fd0b03388b Merge pull request #2545 from giantlock/develop
kwargs may not contain require_in and watch_in
2012-11-13 15:39:26 -08:00
Sean Channel
6db36a8307 switch to debian init scripts 2012-11-13 13:03:53 -08:00
Sean Channel
502434bccc correction to file listing 2012-11-13 12:53:02 -08:00
Sean Channel
6f8a728b9d add systemd support files 2012-11-13 12:21:48 -08:00
Pedro Algarvio
7c666d21d0 Need at least two worker threads for integration.modules.publish to pass. 2012-11-13 19:10:17 +00:00
Pedro Algarvio
3a7ab49d87 Fix syntax error and minior PEP-8 2012-11-13 18:52:13 +00:00
Jack Kuan
2ffa1254c0 Get option values from within module's __init__() so that we get the overriden option values. 2012-11-13 12:29:18 -05:00
Denis Generalov
ad3aa95e52 kwargs may not contain require_in and watch_in 2012-11-13 12:50:08 +04:00
Jack Kuan
6ab6dae7ae Merge branch 'develop' of github.com:saltstack/salt into develop 2012-11-13 02:04:51 -05:00
Jack Kuan
7f3ac3fe89 Add some docs on render pipe.
Also, added a stateconf state so that its stateconf.set function
can be used by the stateconf renderer.
2012-11-13 02:01:34 -05:00
Thomas S Hatch
a1f9a07194 remove unused salt.utils import 2012-11-12 23:31:42 -07:00
Thomas S Hatch
47ba271134 remove unused variable groups 2012-11-12 23:28:54 -07:00
Thomas S Hatch
15f1cce711 Remove unused import salt.utils 2012-11-12 23:25:09 -07:00
Thomas S Hatch
43fd2f83e0 Clean up unused copy import 2012-11-12 23:23:12 -07:00
Thomas S Hatch
8ce5c7f972 minor fixes to yaml renderer 2012-11-12 23:20:47 -07:00
Thomas S Hatch
7cfab7e206 Comment out line that willo cause a trace 2012-11-12 23:12:30 -07:00
Thomas S Hatch
fc0ec79700 Clean up solarispkg for .format strings 2012-11-12 23:07:21 -07:00
Jack Kuan
a76331e0e1 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-11-13 00:58:04 -05:00
Thomas S Hatch
3085818a8a remove unused callable import 2012-11-12 22:54:04 -07:00
Thomas S Hatch
51e79e980a remove unused import 2012-11-12 22:52:17 -07:00
Thomas S Hatch
ed193d19c2 Add command execution error to mdadm imports 2012-11-12 22:47:31 -07:00
Thomas S Hatch
8ebb5eede1 Remove unused exc 2012-11-12 22:44:55 -07:00
Thomas S Hatch
c1af69523c Remove unused ret variable 2012-11-12 22:42:37 -07:00
Thomas S Hatch
eafeec5db6 Fix errors in file perms checks 2012-11-12 22:41:45 -07:00
Thomas S Hatch
275f213842 newlines and consistent names for file pointers 2012-11-12 22:38:44 -07:00
Thomas S Hatch
7d1a6b0378 Import salt.utils in debian service 2012-11-12 22:29:39 -07:00
Thomas S Hatch
1240a425ca Remove unused import im cmdmod 2012-11-12 22:26:42 -07:00
Thomas S Hatch
16b053124d clean exception issue 2012-11-12 22:25:57 -07:00
Thomas S Hatch
63e6550176 remove unused import 2012-11-12 22:24:44 -07:00
Thomas S Hatch
bdd0ef6133 Remove unused import from ldap.py 2012-11-12 22:22:33 -07:00