Merge pull request #7954 from alimony/patch-3

cron module: Use correct parameter name in error message.
This commit is contained in:
Michael DeHaan 2014-07-28 11:29:05 -04:00
commit caba7ac6a6

View file

@ -449,7 +449,7 @@ def main():
if cron_file and do_install: if cron_file and do_install:
if not user: if not user:
module.fail_json(msg="To use file=... parameter you must specify user=... as well") module.fail_json(msg="To use cron_file=... parameter you must specify user=... as well")
if reboot and special_time: if reboot and special_time:
module.fail_json(msg="reboot and special_time are mutually exclusive") module.fail_json(msg="reboot and special_time are mutually exclusive")