Commit Graph

18 Commits (9076f8eb3187830744233c96a03756d1028bd17f)

Author SHA1 Message Date
Daniel Hokka Zakrisson c364e4c77b cron: Work even without initial crontab
Fixes #2165.
12 years ago
Daniel Hokka Zakrisson d2bf205a5d Fix #2125 and clean up a few things along the way 12 years ago
Michael DeHaan 5c38248788 Fix crontab doc formatting 12 years ago
Mike Grozak 171a01deac 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 3fb21a5281 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 85e0017a85 fix cron DOCUMENTATION 12 years ago
Daniel Hokka Zakrisson eb57c9c430 Indicate the reboot option was added in 1.0
Fixes #1787.
12 years ago
Chelsea Robb 96e2805b31 Change check for date/time parts being set 12 years ago
Chelsea Robb 6a02e3d918 Added error message when reboot and extra params are passed, and added better boolean parsing on reboot 12 years ago
Chelsea Robb fc4ac70342 Add support for @reboot to cron module 12 years ago
Jan-Piet Mens caf003c813 DOCUMENTATION strings 12 years ago
Michael DeHaan c0747b7baa pep8 fixes 12 years ago
Jan-Piet Mens feab57e270 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Jan-Piet Mens 575459465e 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 7399224428 fixed cron library so backups are python2.4 compatible 12 years ago
Dag Wieers 98624cb394 Fixes to documentation 12 years ago
Dane Summers c3a6e8dfd6 added new documentation string to cron library 12 years ago
Dane Summers 3d65d6159f cron feature (w/o tests) 12 years ago