Thomas S Hatch
d759c28608
fix comment
2012-01-07 11:52:11 -07:00
Thomas S Hatch
30f904c017
Add localhost grain
2012-01-07 11:50:20 -07:00
Thomas S Hatch
61fbb34585
blazing speed improvements to service modules
2012-01-06 17:06:49 -07:00
Thomas S Hatch
95f52c25cc
Merge pull request #452 from jcollie/systemd-status-fix
...
Fix a couple of problems with systemd service status command
2012-01-06 14:51:30 -08:00
Thomas S Hatch
0cf021de6c
Merge pull request #446 from UtahDave/develop
...
Slimmed down Windows grains dictionary
2012-01-06 14:49:11 -08:00
Thomas S Hatch
c8017ba8e0
Merge pull request #445 from whiteinge/salt-msgpackcheaders
...
Added msgpack header files to MANIFEST.in
2012-01-06 14:48:36 -08:00
Jeffrey C. Ollie
fa5945a65f
Fix a couple of problems with systemd service status command
...
The status command for systemd services had a couple of problems:
1) The awk script used braces which needed to be escaped when using .format
2) It was using the 'systemctl restart' subcommand instead of status.
Also, using awk to parse the output of systemctl doesn't seem very
efficient, especially when we have a perfectly good Python interpreter
at hand.
This fixes the above problems by using Python code to look for the
main pid from the 'systemctl show' command output. 'systemctl show'
has the same information as 'systemctl status' except in a more
machine-readable format.
2012-01-06 15:51:16 -06:00
David Boucha
fe0ad96bea
Fixed the indent of the items in the get_these_grains dictionary
2012-01-06 13:56:37 -07:00
David Boucha
63324c93bc
Made some cosmetic changes to improve readability
...
per some suggestions from SEJeff.
2012-01-06 10:40:18 -07:00
Seth House
14937aca53
Added msgpack header files to MANIFEST.in
...
We've learned this is the best way to include header files into an sdist
from StackOverflow. Many Bothans died to bring us this information.
2012-01-06 10:12:46 -07:00
David Boucha
f951e0bd67
Changed the grains list to a dictionary to translate the item name
...
for internal Salt use.
Removed some less than useful items from the grains list
Cleaned the code up a little
2012-01-06 10:07:30 -07:00
Thomas S Hatch
6e92cad2a1
Merge pull request #444 from jcollie/selinux
...
A couple of selinux fixes
2012-01-06 07:44:06 -08:00
Thomas S Hatch
6288dcfc99
Merge pull request #443 from herlo/02c2051493c9fa90234fd09a7f5a71c5906a25a6
...
Update with systemd for Fedora 15+
2012-01-06 07:42:26 -08:00
Jeffrey C. Ollie
2b6aeb82a4
fix typo
2012-01-06 08:29:16 -06:00
Jeffrey C. Ollie
369f7ad3fc
Search for selinux filesystem rather than relying on static path
2012-01-06 08:26:35 -06:00
Clint Savage
02c2051493
Updating for systemd on Fedora 15+
2012-01-06 00:26:37 -07:00
Thomas S Hatch
c4abb01a0c
Merge pull request #441 from UtahDave/develop
...
Added more grains to Windows
2012-01-05 22:12:09 -08:00
Thomas S Hatch
f650ba9d2d
check for empty line
2012-01-05 23:11:12 -07:00
Thomas S Hatch
13c401f770
check runlevel
2012-01-05 23:05:35 -07:00
David Boucha
8a0e060569
Merge branch 'develop' of git://github.com/saltstack/salt into develop
2012-01-05 23:01:45 -07:00
David Boucha
9668e9bc4d
Added more Windows grains
2012-01-05 23:01:04 -07:00
Thomas S Hatch
fcc15d8c1c
Fix some docstrings
2012-01-05 22:58:54 -07:00
Thomas S Hatch
a1e02bf062
update systemd with enabled/disabled functions
2012-01-05 22:54:42 -07:00
Thomas S Hatch
8d5123fa45
add enable/disable to rh_service
2012-01-05 22:18:47 -07:00
Thomas S Hatch
ec6d5ef860
sort service returns
2012-01-05 21:57:07 -07:00
Thomas S Hatch
7b00e84fe7
add gentoo service module
2012-01-05 21:53:07 -07:00
Thomas S Hatch
0f8bc2a686
update doc string for the service module
2012-01-05 17:29:42 -07:00
Thomas S Hatch
6563bd18a1
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-01-05 17:27:15 -07:00
Thomas S Hatch
4f022d4d13
Add some more robustness to the service modules
2012-01-05 17:26:24 -07:00
Thomas S Hatch
ff49222b80
Merge pull request #437 from whiteinge/salt-looseversion
...
Catch AttributeError if LooseVersion gets empty version string
2012-01-05 15:06:11 -08:00
Seth House
73ad3e79c3
Merge branch 'salt-yumnamearch' into develop
2012-01-05 16:01:03 -07:00
Seth House
de5d0ab497
Fix to remove the .arch from the yum package name
2012-01-05 15:48:47 -07:00
Seth House
dbb69abaed
Catch AttributeError if LooseVersion gets empty version string
2012-01-05 15:15:34 -07:00
Thomas S Hatch
f755f56c44
Merge pull request #436 from UtahDave/develop
...
Add Windows support to hosts.py. Cleaned up a little
2012-01-05 06:46:16 -08:00
David Boucha
2140395df6
Merge branch 'develop' of git://github.com/saltstack/salt into develop
2012-01-05 01:46:05 -07:00
David Boucha
a5fd66841e
Cleaned up a little so there is one variable for the hosts file name
...
Added Windows support
2012-01-05 01:44:03 -07:00
Thomas S Hatch
c5e490bf12
fix syntax error in file write
2012-01-04 23:53:19 -07:00
Thomas S Hatch
a43621e3be
Add watch function to cmd state
2012-01-04 23:34:12 -07:00
Thomas S Hatch
f2b69484ae
Add module to manage persistant minion datastore, this is still very
...
simple and should be updated to work in a similar way to the redis
interface, lots of room to grow
2012-01-04 23:26:39 -07:00
Thomas S Hatch
b31fe2c781
Add dynamic module loading to state system
2012-01-04 23:12:46 -07:00
Thomas S Hatch
ba0e7f8d73
update to handle multiple environments
2012-01-04 22:58:07 -07:00
Thomas S Hatch
618a09c044
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-01-04 22:38:58 -07:00
Thomas S Hatch
3754857640
add dynamic module directory cleaning
2012-01-04 22:38:37 -07:00
Thomas S Hatch
2ea6b1288a
Merge pull request #435 from SEJeff/fix-418
...
Fix errors when running sysctl.assign against a nonexistent sysctl
2012-01-04 21:35:10 -08:00
Thomas S Hatch
588c8ce530
Merge pull request #434 from SEJeff/fix-287
...
Don't use df -P on non-Linux hosts for disk.usage()
2012-01-04 21:33:48 -08:00
Jeff Schroeder
67c57ab2d5
Add an outputter for sysctl.assign
2012-01-04 21:26:33 -08:00
Jeff Schroeder
1f3848c3b5
Fix tracebacks when running sysctl.assign on a bogus sysctl
...
- Catch CommandExecutionError via 'salt' or 'salt-call'
- Add exceptions.CommandExecutionError for modules to use
to gracefully catch errors and report them to the user
- Check for existence of the proper sysctl file and throw
a CommandExecutionError if the sysctl file doesn't exist
2012-01-04 21:24:25 -08:00
Jeff Schroeder
2a7306c53f
Don't use df -P on non-Linux hosts for disk.usage()
...
Fixes #287
2012-01-04 21:24:25 -08:00
Thomas S Hatch
f8d7246a92
lay down module refresh tag
2012-01-04 22:10:47 -07:00
Thomas S Hatch
7e6f88e421
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-01-04 22:05:51 -07:00