Resources

Overview

Resources files allow a module to access one or more resources. A resource file contains a list of resources, each describing the original resource location and the destination for the module. Resources will be copied to the specified destination for the module.

Note

A resources can be included by file or by directories

Usage

{
    "resources": [
        {
            "source": "root/rules/",
            "destination": "rules/"
        },
        {
            "source": "default-functions/snmp-trap/",
            "destination": "rules/default-fonctions/"
        },
        {
            "source": "lookups/",
            "destination": "lookups/"
        }
    ]
}

Example