Commit Graph

3039 Commits

Author SHA1 Message Date
Thomas S Hatch
71c81ce2e8 The new unit tests work! 2012-02-12 02:58:15 -07:00
Seth House
a6da234826 Added note to State ordering doc about source order 2012-02-12 02:56:46 -07:00
Seth House
b19bea572e Added a bunch of examples to the highstates docs
Also wording and formatting fixes.
2012-02-12 02:34:17 -07:00
Thomas S Hatch
37704129af initial test class 2012-02-12 02:05:35 -07:00
Thomas S Hatch
5b83d74e2d move core classes to daemon, add moduleclass 2012-02-12 01:57:03 -07:00
Thomas S Hatch
07b4320a89 Initial push towards active unit testing
After a great deal of thought, I feel that the only way to reliably run
a test suite it to start a minion and master, and condition the data to
reflect the literal returns (take out the transport overhead).

This commit is the initial push towards this method of unit testing,
these test will be able to acctually test every aspect of salt.
2012-02-12 01:24:20 -07:00
Thomas S Hatch
5cb36f320d Add configs for the minion/master servers to run in the test suite 2012-02-12 00:46:24 -07:00
Thomas S Hatch
afaae839dd fix issue introduced with pkg state reloading
This had broken module refresh in the load_dynamic method
2012-02-11 23:14:13 -07:00
Thomas S Hatch
670ed56bcc Merge pull request #684 from vittyvk/develop
Fix copy-paste grammar errors in daemons help
2012-02-11 11:15:12 -08:00
Vitaly Kuznetsov
9c8555d6bc Fix copy-paste grammar errors in daemons help 2012-02-11 19:08:20 +00:00
Thomas S Hatch
3c2bb7adfc add a virtual_enable option to the gen_function method in the loader 2012-02-11 09:40:40 -07:00
Thomas S Hatch
27a8c615bb add check for virtualenv module before executing 2012-02-10 22:59:38 -07:00
Thomas S Hatch
c9d3182225 Repair an issue with overlapping modules
Before this commit, if a module and a state shared the same name, then
they would also share the same functions, this cause 2 main issues,
primarily that the virtual function from a module was applied to states
which shared the same name as the modules, like service, cmd adn
virtualenv.

This also adds a more unique tag to the logging system for modules
2012-02-10 22:16:15 -07:00
Thomas S Hatch
dfc994b8fd Cause the ssh module to not set the keys down if the homedir is not
present
2012-02-10 16:41:21 -07:00
Thomas S Hatch
d17e3c7ff4 fix typo in file.touch 2012-02-10 16:26:25 -07:00
Thomas S Hatch
f39cc0d946 Add makedirs option to touch 2012-02-10 15:39:08 -07:00
Thomas S Hatch
a94452fb5e Can Haz not 2012-02-10 13:44:28 -07:00
Seth House
2e0041e2b8 Added a link to saltstack.org to the sidebar
This is largely a test commit. I'm still unsure what all template blocks
I can override on rtd.
2012-02-10 10:46:03 -07:00
Seth House
c00ac38dad Merge branch 'datechange' of https://github.com/bretep/salt into develop 2012-02-10 10:43:45 -07:00
Bret Palsson
f66738e934 Update copyright date 2012-02-10 10:20:45 -07:00
Seth House
e509670b02 Fixed missing space when using --allow-verify with the apt module
Fixes #676. Thanks for the report, @sirkonst!
2012-02-10 10:07:02 -07:00
Thomas S Hatch
0f6b04565e Sad mistake, changed if logic in state checks for module updates 2012-02-10 00:12:01 -07:00
Thomas S Hatch
9c0c0b8925 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-02-10 00:09:30 -07:00
Thomas S Hatch
2a0d6df697 Add module refresh in states for package installs
This refresh action should be called on the top level minion every time
a pkg call is made. Something else to figure out
2012-02-10 00:07:46 -07:00
Seth House
fbe0b328b8 Fixed incorrect example in the pkg.installed state 2012-02-09 20:42:11 -07:00
Thomas S Hatch
d834aa0537 Merge pull request #674 from byronclark/service-enabling
Add states to only enable or disable a service.
2012-02-09 15:23:59 -08:00
Byron Clark
8d54452610 Add states to only enable or disable a service.
These states only affect whether a service starts at bootup or not.
Closes #671.
2012-02-09 16:22:32 -07:00
Thomas S Hatch
a54a6145dc Add include support to the configs 2012-02-09 14:40:40 -07:00
Thomas S Hatch
26bbd93d0a FINALLY, I documented that grains can be in the minion config 2012-02-09 13:14:35 -07:00
Thomas S Hatch
427666236d Add environment to the configuration guide 2012-02-09 11:57:37 -07:00
Thomas S Hatch
483c33bc7c Add the documentation for the external-nodes option 2012-02-09 11:45:59 -07:00
Thomas S Hatch
1f022ae62b Add kwargs to package modules
These modules still need to have version support added
2012-02-09 11:33:39 -07:00
Thomas S Hatch
fa03eebf15 Add some docs on the sls shebang line 2012-02-09 11:13:55 -07:00
Thomas S Hatch
5e173ba710 Merge pull request #662 from KB1JWQ/master
Split package that doesn't autodep everything
2012-02-08 17:36:44 -08:00
Corey Quinn
1453a8175d Fixed arch and versioning 2012-02-08 17:25:34 -08:00
Thomas S Hatch
d300ac8e4a allow strings with modes to be passed in
Before there was a bug where a string passed into an sls file with a 0
prefix would be prematurely converted to an octal integer
2012-02-08 17:32:44 -07:00
David Boucha
c19dd63263 Merge branch 'develop' of https://github.com/saltstack/salt into develop 2012-02-08 15:34:22 -07:00
Thomas S Hatch
267735b18f Merge pull request #660 from KB1JWQ/master
Ubuntu / Debian packaging updated
2012-02-08 14:06:39 -08:00
Thomas S Hatch
08aeddde01 removed unused imports 2012-02-08 15:04:27 -07:00
Corey Quinn
c371a51c32 Fixed a perm check in grains 2012-02-08 14:01:56 -08:00
Thomas S Hatch
6665005098 make None look better 2012-02-08 15:00:05 -07:00
Thomas S Hatch
c05d1e8346 updae delimiter for nostates error 2012-02-08 14:58:21 -07:00
Thomas S Hatch
2d8279fff2 verify that the file_roots option is formatted correctly 2012-02-08 14:35:40 -07:00
Thomas S Hatch
a6ea38b3b6 fix issue when file_roots was misconfigured 2012-02-08 14:30:20 -07:00
Thomas S Hatch
17e7e4558c Merge branch 'develop' of github.com:saltstack/salt into develop 2012-02-08 13:03:07 -07:00
Thomas S Hatch
7124ff256b Tom can't spell, we all know this 2012-02-08 13:02:41 -07:00
Seth House
5a579b681d Updated logo png with transparency 2012-02-08 12:59:20 -07:00
Thomas S Hatch
db5e8df7ea add modegrou_match to matcher 2012-02-08 12:58:47 -07:00
Thomas S Hatch
c714a123a3 initial support for nodegroup matching 2012-02-08 12:47:17 -07:00
Corey Quinn
95276c504a Merge branch 'develop' of https://github.com/saltstack/salt 2012-02-08 10:33:28 -08:00