Resource Type: kapacitor_task
- Defined in:
- lib/puppet/type/kapacitor_task.rb
- Providers:
-
kapacitor_api
Overview
Manage Kapacitor tasks
Properties
-
dbrps
List of database retention policy pairs the task is allowed to access in the form of [=> “DATABASE_NAME”, “rp” => “RP_NAME”]
-
enable
Whether the task should be enabled or not
Supported values:- true
- false
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
script
The content of the script
-
type
Task type
Supported values:- stream
- batch
-
vars
A set of vars for overwriting any defined vars in the TICKscript
Parameters
-
name (namevar)
Task name
-
provider
The specific backend to use for this ‘kapacitor_task` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
template_id
An optional ID of a template to use instead of specifying a TICKscript and type directly