Commit Graph

6329 Commits

Author SHA1 Message Date
Pedro Algarvio
94b9decdb7 If it's not a dict, it should not be treated like one. 2012-09-20 19:27:45 +01:00
Pedro Algarvio
39af3fb5d6 Fix the test-cases custom logging handler.
* Even when the tests logging handler stream is directed to `/dev/null` we still need a low logging level so that our custom logging handler, used to see if certain log messages are emitted or not, catches messages.
2012-09-20 19:27:32 +01:00
Thomas S Hatch
a358885829 Merge pull request #2027 from s0undt3ch/develop
Inform the users about the current max open files situation.
2012-09-16 09:38:59 -07:00
Pedro Algarvio
243edfb9ad Also test for not triggering log messages. Refs #1986. 2012-09-16 16:27:17 +01:00
Pedro Algarvio
969dc01ce1 Skip test on travis-ci environment. Refs #1986. 2012-09-16 16:12:17 +01:00
Pedro Algarvio
b445674d98 Skip test if max open files exception is triggered. 2012-09-16 16:00:36 +01:00
Pedro Algarvio
0fd61050c9 Inform the users about the current max open files situation.
We defined that the amount of accepted keys should be lower than 1/4 of the system's max open file setting. Inform the user about the current situation, the logging level is "attached" to the gravity of the current status.
2012-09-15 15:32:07 +01:00
Pedro Algarvio
7339cd6950 Allow clearing the stored log messages. 2012-09-15 15:28:09 +01:00
Pedro Algarvio
7ffdad770f Minor PEP-8 change. 2012-09-15 15:27:59 +01:00
Pedro Algarvio
b20b05cb41 Add a tests logging handler. Refs #1986.
This is just a simple logging handler which will keep all emitted log messages in a list. This can be used to test if a certain log messages is emitted in a certain scenario. Usage example:

```python
with TestsLoggingHandler() as handler:
    # (...)               Do what ever you wish here
    handler.messages    # here are the emitted log messages
```
2012-09-15 15:27:47 +01:00
Thomas S Hatch
e32eb9e697 only do a check for module refreshes before executing
This improves the idle nature of the minion
2012-09-14 21:19:12 -06:00
Thomas S Hatch
cfcf50549d Change the poll wait times in tune in
This makes the minion more reponsive and less resource hungry
2012-09-14 21:12:46 -06:00
Thomas S Hatch
d1b9fbd98c Remove somewhat redundant check per #1902 2012-09-14 12:14:28 -06:00
Thomas S Hatch
c2209d6d85 Allow fro overly large temp file paths to be shortened
This is a proposed fix for #1988
2012-09-14 00:22:02 -06:00
Thomas S Hatch
ec1baecd81 Minor fix for log message 2012-09-13 14:36:30 -06:00
Thomas S Hatch
68e0fa606f Fix bug in source_list with salt source files declared as a list 2012-09-13 14:29:14 -06:00
Thomas S Hatch
10e913ff6e Fix #1597 2012-09-13 11:17:21 -06:00
Thomas S Hatch
07a834a3b0 Merge pull request #2024 from gekitsuu/develop
Moved docs from .rst file to docstring
2012-09-12 20:42:58 -07:00
Adam Glenn
a1f1e50889 Moved docs from .rst file to docstring 2012-09-12 21:30:13 -04:00
Thomas S Hatch
1d59e4caeb Merge pull request #2022 from gekitsuu/develop
Added some documentation about mongodb returner
2012-09-12 14:24:50 -07:00
Adam Glenn
f3ff3cd710 Added some documentation about configuring minions 2012-09-12 16:48:54 -04:00
Adam Glenn
11529f80b0 Added a comment for clarity 2012-09-12 16:30:51 -04:00
Thomas S Hatch
c8244f1c59 Merge branch 'develop' of https://github.com/saltstack/salt into develop 2012-09-12 13:20:23 -06:00
Thomas S Hatch
2e89eb0049 Add docs for the test: True config option 2012-09-12 13:18:15 -06:00
Thomas S Hatch
1780f0df04 Merge pull request #2019 from gekitsuu/develop
Added exmaple to show how to force clients to only test modules as resul...
2012-09-12 12:15:29 -07:00
Adam Glenn
2d8cafb16b Added exmaple to show how to force clients to only test modules as result of conversion:
https://groups.google.com/forum/?fromgroups=#!topic/salt-users/PWMtcnNk2ko
2012-09-12 15:11:25 -04:00
Thomas S Hatch
66f66a444d Merge pull request #2018 from favoretti/develop
Added Parallels detection into _virtual() grain.
2012-09-12 09:35:44 -07:00
Vladimir Lazarenko
53b85ab507 Added Parallels detection into _virtual() grain. 2012-09-12 18:11:52 +02:00
Thomas S Hatch
e8063ec3d7 Merge pull request #2017 from FireHost/esky
Add additional Esky / Freezing documentation.
2012-09-11 22:27:39 -07:00
Aaron Tygart
892afaef7f Add Esky documentation 2012-09-12 00:23:31 -05:00
Aaron Tygart
c8cef428ca Add configuration documentation for esky
* Add example in minion configuration template
* Add details in minion configuration documentation
2012-09-11 22:44:00 -05:00
Thomas S Hatch
e158d100a0 Merge pull request #2015 from FireHost/esky
Esky / bbfreeze support
2012-09-11 19:58:58 -07:00
Aaron Tygart
0395766c03 Merge branch 'upstream/develop' into fh-upstream/esky 2012-09-11 20:54:17 -05:00
Pedro Algarvio
6659a70428 Merge pull request #2014 from s0undt3ch/develop
Include my major changes to the releases doc.
2012-09-11 15:02:10 -07:00
Pedro Algarvio
42803b41a9 Include my major changes to the releases doc. 2012-09-11 23:00:33 +01:00
Thomas S Hatch
fba152523c Fix #2012 2012-09-11 15:57:22 -06:00
Thomas S Hatch
a28c8535b2 Fix timing attack 2012-09-10 22:49:30 -06:00
Thomas S Hatch
2c871d60a4 Start on the 0.10.3 release notes 2012-09-10 18:12:35 -06:00
Thomas S Hatch
0f3db6f0f2 Fix issue with get_full_returns set comparrisons 2012-09-10 16:23:20 -06:00
Thomas S Hatch
3eee5c143b Fix syntax error 2012-09-10 16:19:03 -06:00
Thomas S Hatch
3844cecc6c Proposed soution for #1799 2012-09-10 16:15:58 -06:00
Thomas S Hatch
3587231391 Fix bug found in extra syndic tests 2012-09-10 16:12:59 -06:00
Thomas S Hatch
8f375a6af4 Really fix #1871 2012-09-10 15:58:45 -06:00
Thomas S Hatch
4a982a0fd7 Fix #1871 2012-09-10 14:54:08 -06:00
Aaron Tygart
a05911d985 Add freeze_support on salt-minion script 2012-09-10 14:13:02 -05:00
Aaron Tygart
0fd277b68d Add saltutil.update function
* Add update() function to saltutil module
* Add update_url minion config option
* Add update_restart_services minion config option
2012-09-10 14:05:58 -05:00
Thomas S Hatch
71fb912d40 Merge branch 'develop' of https://github.com/saltstack/salt into develop 2012-09-10 12:34:08 -06:00
Aaron Tygart
98d8ed8723 Add bdist_esky command to setup.py
* Add bdist_esky command through import from esky
* Add list of explicit includes with platform detection
* Update salt build to be zip unsafe
2012-09-10 13:32:34 -05:00
Thomas S Hatch
b4db37989e Skip hidden file in verify since they are managed elsewhere
Fix #536
2012-09-10 12:31:43 -06:00
Thomas S Hatch
bfba9d8a92 Merge pull request #2005 from s0undt3ch/issues/1987
Make salt's loader differentiate internal from external resources.
2012-09-10 11:05:48 -07:00