Commit Graph

49 Commits (94de4db928c274b4aa5006530789820c5bb7f5fa)

Author SHA1 Message Date
Michael DeHaan 83f277cfe6 Various tweaking to get the module formatter to work for 'make docs' in the docs project. Likely the templates for other module formatting types will have to change
14 years ago
Jan-Piet Mens 60e0410298 Tweak DOCUMENTATION YAML as per latest 991
14 years ago
Aleksej Romanov eefe66f1cc Squashed commit of the following:
14 years ago
Dag Wieërs 9d4f70f0ad Handle special files just like normal files
14 years ago
Michael DeHaan 75bbd73173 Fix indentation
14 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
14 years ago
Michael DeHaan 36527ca9d5 Merge pull request #838 from sfromm/issue825
14 years ago
Stephen Fromm 94696fb88e Update file module to not recurse when setting ownership
14 years ago
Michael DeHaan 9e934acfca Relative symlinks don't really work (module bug) and would be confusing anyway, better to be explicit.
14 years ago
Michael DeHaan faed4b5a33 whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added
14 years ago
Michael DeHaan 7e9e29011e Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
14 years ago
Stephen Fromm d0892c19ad Add setype to file's argument_spec and remove secontext
14 years ago
Stephen Fromm 52afacf475 Fix module_fail_json call when symlink src does not exist
14 years ago
Michael DeHaan ed14312ad6 reinstate invalid argument checks where possible, daisy chainee/chained modules turn it off
14 years ago
Michael DeHaan 0a3ebdb6d5 Module consistency and make daisy chaining work with invalid arguments detection.
14 years ago
Michael DeHaan ce5f3dd148 Port the file module over to the new common code infrastructure + cleanup some redundant imports since the module code already imports those things.
14 years ago
Jan-Piet Mens 628b289ab3 Fix file module to support = in args; remove superflous call in get_url
14 years ago
Jeremy Smitherman e5a6627d10 Removed unused recurse option in file module.
14 years ago
Derek Carter fc4ae3e270 remove UID/GID from output
14 years ago
Derek Carter a548769792 removed print from debug code of file module
14 years ago
Derek Carter 82832021e8 file when UID or GID doesn't exist
14 years ago
Fred Alger 80f402aa9b Remove unused md5sum function from file module
14 years ago
Michael DeHaan 9ff59090c2 capture possible chown stderr output
14 years ago
Michael DeHaan 5a8e61a610 Fix parsing error in file module when returning errors.
14 years ago
Stephen Fromm aea022b002 Apply logging of arguments to modules (issue #122)
14 years ago
Michael DeHaan 0669ce858a Refactored inventory to make it object oriented, need to make YAML format and executable script
14 years ago
Rafal Lewczuk 3de61fb180 Fix: file module does not remove dangling symlinks
14 years ago
Stephen Fromm f1b7149fcf Update how to set default selinux context for file
14 years ago
Daniel Néri 82d3fcfd53 File module fix for symlink from relative source path
14 years ago
Michael DeHaan a0ac936a55 Merge pull request #249 from jhoekx/octal-file-mode
14 years ago
Stephen Fromm 5be20f8748 Update file module selinux-awareness
14 years ago
Jeroen Hoekx 3594d1ce80 Return the octal mode of a file instead of decimal.
14 years ago
Stephen Fromm 5c74a524b9 Fix for issue #227
14 years ago
Michael DeHaan 80e6d83660 Fix bug in library/file
14 years ago
Stephen Fromm be58995278 Add context=default option to file module
14 years ago
Michael DeHaan c0c691089d Fix bug in src. Should not code this early :)
14 years ago
Michael DeHaan 7794493952 Don't try to expand path for None values
14 years ago
Michael DeHaan 445e48b991 Call os.path.expanduser in modules so things work as expected even when using ./hacking/test-module script
14 years ago
Stephen Fromm 28895f6615 Rename serange to selevel to be consistent with selinux docs
14 years ago
Stephen Fromm 1e5d34ba35 Add selinux support to file module
14 years ago
Michael DeHaan 4792021f47 Fix syntax error in user patch
14 years ago
Matthew Williams ae38ee0b3f protecting against replacing file or directory with link
14 years ago
Matthew Williams 24f61f1583 "link" state in file module
14 years ago
Michael DeHaan 60bf82d266 Remove comment about FIXME that is already resolved
14 years ago
Michael DeHaan 311b93995c Add some comments
14 years ago
Michael DeHaan 6874d853c9 Fix changed=True/False detection when specifying mode=
14 years ago
Michael DeHaan 4ad885111b Disable debug
14 years ago
Michael DeHaan 5004d21f10 Return file info about the file regardless of changes made
14 years ago
Michael DeHaan be55145a1e Initial crack at the file module
14 years ago