Commit Graph

4008 Commits

Author SHA1 Message Date
Thomas S Hatch
8969c73f83 Add file.stats function 2012-04-17 01:13:06 -06:00
Thomas S Hatch
5a36503f3d fix function spacing 2012-04-17 00:19:00 -06:00
Thomas S Hatch
87023b5659 clean up more double quotes!! 2012-04-17 00:17:07 -06:00
Thomas S Hatch
f16a4dabf8 Add new check_key options to ssh_auth state 2012-04-16 21:18:02 -06:00
Thomas S Hatch
08b68d48c2 update check_key to be more concice, step towards #1083 2012-04-16 21:13:45 -06:00
Thomas S Hatch
75b2eb8be6 Clean up cross call 2012-04-16 19:27:26 -06:00
Thomas S Hatch
0a14009c58 Merge pull request #1090 from fatbox/fix-user-state
Fix up user state [GH-1084]
2012-04-16 07:09:17 -07:00
Jeff Schroeder
b53bc2b051 Merge pull request #1088 from taavi/missing_modules_are_false
Should ImportError mean "has_*" is False?
2012-04-16 05:09:20 -07:00
Evan Borgstrom
662a5b39c3 Fix up user state [GH-1084]
The documentation said that `_changes` should return False if the user
didn't exist, which it now does, and the `present` function now detects
if `_changes` returns False and only tries to re-add if so.
2012-04-16 07:53:36 -04:00
Taavi Burns
37ded7c4e9 A couple of places where the a module fails to load, and the "has_*" should probably be False. 2012-04-16 02:09:00 -04:00
Seth House
dc9e5ed6c0 Merge pull request #1087 from taavi/fix_virtualenv
Fix module name in virtualenv docstring.
2012-04-15 23:06:08 -07:00
Seth House
b32a189948 Merge pull request #1086 from taavi/develop
Another couple of documentation bugs
2012-04-15 23:02:42 -07:00
Taavi Burns
90fd900fe0 Fix module name in virtualenv docstring. 2012-04-16 01:58:03 -04:00
Taavi Burns
dc7b86d9c9 Fix misspelling of "curly". 2012-04-16 01:33:45 -04:00
Taavi Burns
1440248e1a Fix the same indentation bug, but in the man page. 2012-04-16 01:33:45 -04:00
Thomas S Hatch
b384a0d758 Merge pull request #1085 from taavi/develop
Indenting Python code in the tutorial
2012-04-15 21:12:20 -07:00
Taavi Burns
7273403cd9 Indenting Python code in the tutorial
I have to imagine that the docstring and return function should
actually be indented. :)
2012-04-15 23:52:23 -04:00
Thomas S Hatch
a1a945b3a9 Merge pull request #1082 from wedge-jarrad/develop
network.py module code cleanup.
2012-04-13 22:33:23 -07:00
Wedge
e3a537a295 network.py module code cleanup. Also fixed a bug in the netmask regex that was resulting in missing ipv4 netmasks when ifconfig is used. 2012-04-13 22:25:18 -07:00
Thomas S Hatch
6eb7c13b32 fix double quotes, fix em' good 2012-04-13 23:21:00 -06:00
Thomas S Hatch
0e81c4b9c1 Merge pull request #1081 from wedge-jarrad/develop
Added support for ifconfig to the network module
2012-04-13 21:02:28 -07:00
Wedge
eb49dc6f53 Added support for ifconfig to the network module 2012-04-13 19:20:39 -07:00
Thomas S Hatch
a1150faf4e Finish initial test interface for ssh_auth state
only file remains!
2012-04-13 16:10:45 -06:00
Thomas S Hatch
a5a2aceeea Add check_keyfile function to ssh module 2012-04-13 16:02:49 -06:00
Thomas S Hatch
c3db82154a Fix bad return value in ssh._validate_keys.py 2012-04-13 15:50:39 -06:00
Thomas S Hatch
5d5ec1e19d fix double quotes
Fix em' good!
2012-04-13 15:46:44 -06:00
Thomas S Hatch
8d47744b12 Add test interface to ssh_auth.absent 2012-04-13 15:35:33 -06:00
Thomas S Hatch
3e422dd5b8 Add a newline char correctly when only removing an alias 2012-04-13 15:25:42 -06:00
Thomas S Hatch
d148851fbb Merge pull request #1079 from fatbox/hosts-revisited
When add_host re-ordered hosts it would leave out trailing new lines
2012-04-12 20:53:40 -07:00
Evan Borgstrom
a17dff3a02 When add_host re-ordered hosts it would leave out trailing new lines
This caused problems when adding another host and you'd end up with
entries such as:

```
192.168.1.2\t\thost2\thost2alias192.168.1.1\t\thost1\thost1alias
```

Test updated to reflect.
2012-04-12 23:50:00 -04:00
Thomas S Hatch
8261ce83b0 add partial test interface to ssh_auth state 2012-04-12 01:41:10 -06:00
Thomas S Hatch
38c32d2f0c Modify ssh module to manage keys with the new check_key function 2012-04-11 23:05:05 -06:00
Thomas S Hatch
d31eb6f4df Add test interface to cron state 2012-04-11 00:15:14 -06:00
Thomas S Hatch
c02f6cec87 get rid of stupid FIXME 2012-04-10 23:42:29 -06:00
Thomas S Hatch
0dea12520d Add test interface to sysctl state 2012-04-10 23:41:04 -06:00
Thomas S Hatch
9ebdfcbdff iupdate the user state.
This commit partitions out the detection of what changes are required in
a user and adds the testinterface
2012-04-10 23:26:34 -06:00
Thomas S Hatch
19af3791cf Add test interface to virtualenv 2012-04-10 21:56:25 -06:00
Thomas S Hatch
1d669ed344 Add test interface to service state 2012-04-10 21:01:55 -06:00
Thomas S Hatch
335e0ba748 Add test interface to rvm state 2012-04-10 20:24:27 -06:00
Thomas S Hatch
547a68c2e0 fix quotes in rvm state 2012-04-10 20:15:53 -06:00
Thomas S Hatch
5bff6be523 Add test interface to postgress state 2012-04-10 18:47:11 -06:00
Thomas S Hatch
2fccc17537 Add test interface to pkg state 2012-04-10 18:45:02 -06:00
Thomas S Hatch
7a8a0fb76c Add test interface to pip state 2012-04-10 18:28:09 -06:00
Thomas S Hatch
598714df44 Add test interface to mysql_user 2012-04-10 18:21:58 -06:00
Thomas S Hatch
2f98a54bea Add test functionality to mysql_grants state 2012-04-10 18:11:08 -06:00
Thomas S Hatch
d4cfd743b2 Add test functionality to mysql_database state 2012-04-10 18:03:11 -06:00
Thomas S Hatch
d532e23d34 Add mount to test options 2012-04-10 17:56:06 -06:00
Thomas S Hatch
690e6de6e1 add test to host state 2012-04-10 17:32:42 -06:00
Thomas S Hatch
a70e4120b8 Set gem to return result of None if tests applied 2012-04-10 17:27:32 -06:00
Thomas S Hatch
66ab1602e1 change cmd test return to None 2012-04-10 17:24:17 -06:00