Commit Graph

2244 Commits

Author SHA1 Message Date
Thomas S Hatch
4f022d4d13 Add some more robustness to the service modules 2012-01-05 17:26:24 -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
Thomas S Hatch
2fe9e3b58e fix issues in module sync 2012-01-04 22:04:56 -07:00
Thomas S Hatch
e2b46a8bc1 Merge pull request #433 from SEJeff/xen-grain-fix
Xen grain fix
2012-01-04 20:41:25 -08:00
Thomas S Hatch
37cc25ea52 Merge pull request #432 from fatbox/develop
[GH-431] Better support for apt in non-interactive environments
2012-01-04 20:40:11 -08:00
Jeff Schroeder
9ed305e45e Don't use df -P on non-Linux hosts for disk.usage()
Fixes #287
2012-01-04 20:39:12 -08:00
Jeff Schroeder
4023b60b69 Change the pythonversion grain back to a list
This is so the default grain yaml outputter doesn't show:
pythonversion: !!python/tuple [2, 7, 1, final, 0]
2012-01-04 20:12:40 -08:00
Jeff Schroeder
e8347c4f15 Updating the xen grain for physical hosts 2012-01-04 20:09:10 -08:00
Jeff Schroeder
8c1b4a04c8 Make the Xen grain detection rock hard
- Clean up the virtual_subtype options
    - Fix the bugs in thinking it is running xen when a kernel
      in Fedora >=16 that isn't using but supports Xen is active.
    - Run dmidecode facts _before_ virtual facts to detect HVM DomUs
2012-01-04 20:09:10 -08:00
Thomas S Hatch
24021f19c9 rename salt to saltutil 2012-01-04 21:00:44 -07:00
Thomas S Hatch
05edea8b3c Merge branch 'develop' of github.com:saltstack/salt into develop 2012-01-04 20:37:46 -07:00
Evan Borgstrom
744fc0bd32 [GH-431] Better support for apt in non-interactive environments
Set DEBIAN_FRONTEND=noninteractive in the environment this works since
the cmd module uses shell=True. Once set it causes apt to proceed
choosing all defaults.

This also passes --force-confold to dpkg to ensure that we also keep our
version of config files.

Lastly add the -q flag to all apt operations. -q disables interactive
features like the progress meters and spinners.
2012-01-04 22:29:22 -05:00
Thomas S Hatch
9e4d7960ce Add extension modules data to the config system 2012-01-04 20:20:38 -07:00
Thomas S Hatch
610b4ec934 add extension modules path to loader and added salt module 2012-01-04 19:10:00 -07:00
Thomas S Hatch
802aca4ee4 Merge pull request #429 from whiteinge/fix-versionimport
Moved version info to own file to avoid import issues
2012-01-04 15:40:44 -08:00
Thomas S Hatch
909882ce3c Merge pull request #428 from whiteinge/salt-sedstr
Ensure that sed is working with strings
2012-01-04 15:40:15 -08:00
Thomas S Hatch
87445c47e3 Merge pull request #427 from whiteinge/fix-versioncompare
Use distutils.version to compare version strings
2012-01-04 15:39:56 -08:00
Thomas S Hatch
f7125e8682 Merge pull request #430 from whiteinge/fix-el5pkgname
Fix el5pkgname
2012-01-04 15:39:42 -08:00
Seth House
14bc2195a8 Fixed inconsistent rpm v. yum output by only using yum
Fixes issue #388.
2012-01-04 16:30:08 -07:00
Seth House
8e7fd39cea Abstracted parsing yum output 2012-01-04 16:30:08 -07:00
Seth House
204414ff91 Moved version info to own file to avoid import issues
Fixes issue #387.
2012-01-04 16:14:24 -07:00
Seth House
77fd051471 Use distutils.version to compare version strings
Fixes issue #392.
2012-01-04 16:10:58 -07:00
Seth House
3c371bb7a0 Ensure that sed is working with strings 2012-01-04 16:05:45 -07:00
Thomas S Hatch
0af8e1c183 Add initial systemd files 2012-01-04 15:27:42 -07:00
Thomas S Hatch
e311eeebc8 fix regression for peer calls 2012-01-04 13:42:07 -07:00
Seth House
58b240fb65 Merge pull request #424 from whiteinge/doc-fedorainstall
Fixed the Fedora install instructions
2012-01-04 12:08:12 -08:00
Seth House
deea5362ed Merge pull request #423 from whiteinge/salt-filenew
Fixed another key error in the append state
2012-01-04 12:03:29 -08:00
Seth House
d3d1946fb8 Fixed another key error in the append state 2012-01-04 13:01:20 -07:00
Thomas S Hatch
a602a07490 Missing import in yumpkg 2012-01-04 12:08:34 -07:00
Thomas S Hatch
a8e4dfec34 fix keyerror in file.sed state 2012-01-04 11:46:45 -07:00
Jeff Schroeder
8f11467779 Merge pull request #421 from whiteinge/doc-grainex
fix grains usage example and syntax
2012-01-04 08:50:20 -08:00
Christer Edwards
ba8f18c542 fix grains usage example and syntax
Port of change from e5aea88fbf which will get overwritten when the
manpages are generated from Sphinx.
2012-01-04 02:15:44 -07:00
Thomas S Hatch
9ad479bf68 add logging to yum error 2012-01-03 21:49:21 -07:00
Thomas S Hatch
e3ede0ae13 Merge pull request #415 from KB1JWQ/master
Fix whitespace issue that breaks dpkg-buildpackge
2012-01-03 20:00:20 -08:00