Commit Graph

21 Commits (8243f797cfbe450e39e323af1b8d6f4c1bf95830)

Author SHA1 Message Date
Dag Wieers d4bb57d42d Fix the documentation booleans so they use "yes" and "no"
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
12 years ago
Daniel Hokka Zakrisson 1dadd70d9f Remove choices=BOOLEANS as it is no longer needed 12 years ago
Daniel Hokka Zakrisson 0150f18a3b Use argument type checking to convert to boolean 12 years ago
Daniel Hokka Zakrisson d5a236c53d cron: Work even without initial crontab
Fixes #2165.
12 years ago
Daniel Hokka Zakrisson 4ff37b8369 Fix #2125 and clean up a few things along the way 12 years ago
Michael DeHaan a36db3bbef Fix crontab doc formatting 12 years ago
Mike Grozak 53892b8fd1 Cron module upgrades
- added cron_file attribute: if specified, the file with appropriate
job is created in /etc/cron.d directory. Also, you can store multiple
jobs in one file. state='absent' attribute is handled in the following
way in this case: if after the deletion of the job from the file specified
by cron_file variable the file is empty, the file is deleted, otherwise
not.
  - fixed the behaviour, when the backupfile is saved forever in /tmp
folder, even if the backup= atribute is not set (os.unlink() is called if
backup is not True).
  - added some comments to the unobvious places
12 years ago
Stephen Fromm e4964f42e0 Update modules to use run_command in module_common.py
This updates apt, apt_repository, command, cron, easy_install, facter,
fireball, git, group, mount, ohai, pip, service, setup, subversion,
supervisorctl, svr4pkg, user, and yum to take advantage of run_command
in module_common.py.
12 years ago
Jan-Piet Mens f1ab8d163d fix cron DOCUMENTATION 12 years ago
Daniel Hokka Zakrisson 0fe2d4e5e3 Indicate the reboot option was added in 1.0
Fixes #1787.
12 years ago
Chelsea Robb ae0e1b541e Change check for date/time parts being set 12 years ago
Chelsea Robb 47f9a72454 Added error message when reboot and extra params are passed, and added better boolean parsing on reboot 12 years ago
Chelsea Robb 7830a4aac2 Add support for @reboot to cron module 12 years ago
Jan-Piet Mens d184f72aa9 DOCUMENTATION strings 12 years ago
Michael DeHaan 8d3f73d562 pep8 fixes 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Jan-Piet Mens 800d830c2b module_formatter: .rst now correctly handles code examples
- fixed template (it was the template), adding indentation with Jinja2
 - added description of code examples to man-page template (was missing)
 - fixed fireball, cron, and debug module examples to confrom
12 years ago
Dane Summers 4f5f32a15b fixed cron library so backups are python2.4 compatible 12 years ago
Dag Wieers 8da637dac6 Fixes to documentation 12 years ago
Dane Summers 1d7a5609eb added new documentation string to cron library 12 years ago
Dane Summers d4b7d82299 cron feature (w/o tests) 12 years ago