Commit Graph

12283 Commits

Author SHA1 Message Date
Jeffrey C. Ollie
81f82737ad Fix support for GATEWAY in interface configs 2013-04-10 09:32:07 -05:00
Fabian Topfstedt
42ff821b23 Exit Salt Minion with return code 0 if its public key got rejected by Salt Master, so that Upstart will not respawn the Salt Minion service forever. 2013-04-10 15:12:11 +02:00
Fabian Topfstedt
4ce3ba2df1 Define normal exit return value to be 0 2013-04-10 15:07:28 +02:00
Denis Generalov
56f221018d * fix bt if environment empty or absent
* fix tests
2013-04-10 16:24:41 +04:00
Nico Mandery
c0e437157f add commands git.status, git.add, git.rm, git.commit, git.push to git module 2013-04-10 09:06:52 +02:00
Sylvain Fankhauser
9d6786901e make pip use correct requirements file when already cached (fixes #4450) 2013-04-10 08:25:09 +02:00
Joseph Hall
71951e5e26 Merge pull request #4447 from melinath/patch-1
Corrected typo in modules/rh_service.py
2013-04-09 18:16:42 -07:00
Stephen Burrows
2d884a389f Corrected typo in modules/rh_service.py 2013-04-09 17:29:26 -07:00
Joseph Hall
3b3a198baf Merge pull request #4445 from shadowfax-chc/mdadm-absent
Mdadm absent
2013-04-09 16:54:09 -07:00
shadowfax-chc
ba015212a9 Added some documentation back. 2013-04-09 19:26:30 -04:00
shadowfax-chc
1764e162bc Removed unused import 2013-04-09 19:17:47 -04:00
shadowfax-chc
3d49ffb4fa Added absent function to mdadm state 2013-04-09 19:16:28 -04:00
shadowfax-chc
4d7ca22b82 Added destroy function to mdadm module to destroy an array 2013-04-09 19:02:32 -04:00
shadowfax-chc
e265e77a45 Updated mdadm state to actually support style in docs.
Update docs in state to show both styles of defining opts.
2013-04-09 19:00:03 -04:00
Thomas S Hatch
771ebdfa70 Merge pull request #4443 from jcollie/rh_network_fixes
Add support for DOMAIN interface option
2013-04-09 12:16:56 -07:00
Jeffrey C. Ollie
573b502a99 Add support for DOMAIN interface option 2013-04-09 14:09:07 -05:00
Seth House
020f5acfe4 Fix placholder Google Analytics code 2013-04-09 12:34:21 -06:00
Thomas S Hatch
9136928474 Merge pull request #4442 from jcollie/rh_network_fixes
A couple of fixes to rh_ip
2013-04-09 10:41:44 -07:00
Thomas S Hatch
c81be4f99a Clean up log file tense, only use error/warning messages in more
extreme cases
2013-04-09 11:35:41 -06:00
Thomas S Hatch
f0127c1976 Merge pull request #4432 from ahammond/add_logging_to_guess_id_from_ip
add logging messages for id guessing
2013-04-09 10:32:35 -07:00
Jeffrey C. Ollie
1375c3e859 Add support for DEFROUTE in network states. 2013-04-09 11:18:55 -05:00
Jeffrey C. Ollie
9c9bd1b34c Fix typo 2013-04-09 11:18:39 -05:00
Morgan Fainberg
d5667e8dba Fixes for empty sources list and strip on "line"
For matching purposes (repo configured) the "line" property needs
an explicit strip() called as it can end up with a \n in the line
itself.

Empty sources error was due to an erroneous check to see if we had
any repos (assumption was made we had some).  Since this not always
true, the superflous check has been eliminated.
2013-04-08 23:12:13 -07:00
Morgan Fainberg
efd4913131 General Apt-Sources fixes
These are some sanitization fixes to help make apt-sources
management better.  The basic principal is to not "configure" the
source if the source already exists.

Some format validation for PPA expansion added.
2013-04-08 22:33:36 -07:00
Thomas S Hatch
87bfee40f7 Merge pull request #4436 from shadowfax-chc/mdadm-state
Mdadm state
2013-04-08 19:28:43 -07:00
shadowfax-chc
28a93d5fee Added docs for mdadm state 2013-04-08 22:24:46 -04:00
shadowfax-chc
1599686cab Added ability to provide `missing` option to mdadm module 2013-04-08 22:19:13 -04:00
shadowfax-chc
b967894365 Added initial state for mdadm. 2013-04-08 22:18:38 -04:00
Thomas S Hatch
a880c08296 Add a not_loaded function to the test module 2013-04-08 19:50:32 -06:00
Thomas S Hatch
edd55e2c1a Add test.providers function 2013-04-08 19:33:37 -06:00
Thomas S Hatch
a10e5ed01e Fix issue where id was only assigned if there was no fqdn
Fix from #4422
2013-04-08 19:31:02 -06:00
Thomas S Hatch
3ee3100f7f Merge pull request #4434 from jacksontj/develop
Adding default value for range_server in minion config
2013-04-08 14:03:07 -07:00
Thomas S Hatch
3a2c126e4f Merge pull request #4435 from giantlock/develop
fix backtrace when environment empty
2013-04-08 14:02:33 -07:00
Thomas Jackson
f41b3397c7 Adding default value for range_server in minion config (this is for the range compound matcher, and any other range useage in the minion) 2013-04-08 13:42:59 -07:00
Denis Generalov
ca47ef75e8 fix backtrace when environment empty 2013-04-09 00:42:29 +04:00
Thomas S Hatch
39117a65c4 Fix #4427 2013-04-08 13:41:47 -06:00
Andrew Hammond
be60a3e39a add logging messages for id guessing 2013-04-08 11:38:33 -07:00
Thomas S Hatch
924e374832 Strip out ec2 specific calls pending a better more generic solution 2013-04-08 12:03:33 -06:00
Thomas S Hatch
ab28a6a8cc Merge pull request #4422 from ahammond/guess_id_from_ip
guess id from ip
2013-04-08 11:05:10 -07:00
Thomas S Hatch
e283d61f47 Merge pull request #4431 from giantlock/develop
fix #4429
2013-04-08 11:04:18 -07:00
Denis Generalov
90f88eb998 fix #4429 2013-04-08 20:37:38 +04:00
Andrew Hammond
2032055259 guess id from ip 2013-04-07 22:56:35 -07:00
Thomas S Hatch
e84677e6d0 Fix #4202
If pkg.install returns a string append it to the comment and make
sure changes is a dict
2013-04-07 23:40:12 -06:00
Thomas S Hatch
23b306ed64 Add check for changes to be a dict, still need to track down
the vialating state
2013-04-07 23:14:10 -06:00
Thomas S Hatch
5fb5060f78 Fix #4323
Add a try/except block around cache lookup since the cachedir might not be there
2013-04-07 21:55:58 -06:00
Thomas S Hatch
f30c6bef9b Fix #4405
Now states will not run if errors are detected in the pillar.
This is a module layer abstraction and is not managed in the
compiler, meaning that anyone writing higher layer access to states
need to run this check manually.

The check can be bypassed via the force=True option for the
state.highstate, state.sls and state.top functions
2013-04-07 21:44:47 -06:00
Thomas S Hatch
3aa8b5d17b Start work on #4405
This commit adds the errors to the pillar. The next step is to have
state runs fail if errors are found in the pillar.
2013-04-07 21:30:59 -06:00
Thomas S Hatch
ad85d619ad Merge pull request #4419 from terminalmage/issue2783
Make pkg.installed state multiple-version aware
2013-04-07 19:59:58 -07:00
Thomas S Hatch
d5e4dec311 Fix #4417
This adresses the root of the problem, and ensures that the single
locaded module keeps the same context, shared with the standard
loaded modules
2013-04-07 20:55:52 -06:00
Joseph Hall
fe36487ccc Merge pull request #4421 from terminalmage/docs
Add docs on installing w/easy_install
2013-04-07 17:29:42 -07:00