---
  name: "install"
  runner_type: "action-chain"
  description: "Installs packs from st2-contrib into local content repository.
                Will download pack, load the actions, sensors and rules from the pack.
                Note that install require reboot of some st2 services."
  enabled: true
  entry_point: "workflows/install.yaml"
  parameters:
    packs:
      type: "array"
      items:
        type: "string"
      required: true
    repo_url:
      type: "string"
      default: "StackStorm/st2contrib"
    branch:
      type: "string"
      default: "master"
    subtree:
      type: "boolean"
      description: "Set to true if packs are located in a packs/ directory and not in the repository root"
      default: false
    register:
      type: "string"
      default: "actions,aliases,sensors"
      description: "Possible options are all, sensors, actions, rules, aliases."
    env:
      type: "object"
      description: "Optional environment variables"
      required: false

---
  name: "install"
  runner_type: "action-chain"
  description: "Installs packs from st2-contrib into local content repository.
                Will download pack, load the actions, sensors and rules from the pack.
                Note that install require reboot of some st2 services."
  enabled: true
  entry_point: "workflows/install.yaml"
  parameters:
    packs:
      type: "array"
      items:
        type: "string"
      required: true
    repo_url:
      type: "string"
      default: "StackStorm/st2contrib"
    branch:
      type: "string"
      default: "master"
    subtree:
      type: "boolean"
      description: "Set to true if packs are located in a packs/ directory and not in the repository root"
      default: false
    register:
      type: "string"
      default: "actions,aliases,sensors,triggers"
      description: "Possible options are all, triggers, sensors, actions, rules, aliases."
    env:
      type: "object"
      description: "Optional environment variables"
      required: false

Update packs.install to also register triggers (trigger types) by default.
Update packs.install to also register triggers (trigger types) by default.
