Write test for linux root cron deletions

Bug #730355 reported by Jessica Greer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cf3upgrade
Fix Released
Undecided
Unassigned

Bug Description

vars:

  "remove_from_linux_root_cron" slist => {
    "cfexecd -F",
    "rsync.*\/usr\/local\/var\/orca",
    "reboot.*\/var\/cfengine\/bin\/cf",
    "up2date-nox --list",
    "yum list updates",
    "cfagent" };

files:

 linux::

    "/var/spool/cron/root"
      # edit_line promises are themselves bundles, so any variables
      # passed to them must be scoped - a la @(main.foo)
      edit_line => delete_lines_that_contain(
        "@(main.remove_from_linux_root_cron)" ),
      classes => if_repaired("reload_root_cron"),
      edit_defaults => editsettings_std("timestamp"),
      action => actionsettings_fix_inform("inform");

Revision history for this message
Jessica Greer (greer-jessica) wrote :

Jessica-Greers-MacBook-Pro:editfiles jess$ svn commit -m "Added editfiles_root_crontab_deletions_linux.tex"
Authentication realm: <https://svn.its.yale.edu:443> svn-prd-cfeTst
Password for 'jg685':
Adding editfiles/editfiles_root_crontab_deletions_linux.tex
Transmitting file data .
Committed revision 226.

Changed in cf3upgrade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.