Overriding the Action Table

Any module return code can be over-written as described above. The syntax is:

return-code = value

The return-code can be any one of the previously defined module return codes (e.g. ok, fail, etc.), or the word default can be used to set values for all of the return codes that have not yet been specified.

The value can be one of:

  • decimal number

    • The priority associated with this return code. The number may have any value between 1 and 999999.

  • return

    • Stop processing the current list, and return the current code.

  • reject

    • Stop processing the current list, and return with a reject.

Examples:

files {
    notfound = 1
    noop = 2
    ok = 3
    updated = 4
    default = return # all other codes are set to "return"
}
files {
    default = return # all codes are set to "return"
    notfound = 1 # these settings over-ride the "return"
    noop = 2
    ok = 3
    updated = 4
}