summaryrefslogtreecommitdiff
path: root/deployment_tasks.yaml
blob: 9ebbf442395e9cca89ac74a6ba722df72fa426ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
- id: zbx-configure-xtremesnmp-services
  type: puppet
  version: 2.0.0
  # We use last task of Zabbix SNMP Trap Daemon plugin deployment as an anchor
  # to order the post-deployment tasks executed
  # by this plugin. The dependency chain is:
  # (Zabbix tasks) -> (Zabbix SNMP Trap Daemon tasks) -> (SNMP Extreme plugin tasks)
  requires: [post_deployment_start, zbx-configure-snmptrapd-services]
  required_for: [post_deployment_end]
  role: ['primary-controller']
  # The crontrollers configuration shouldn't start before primary is finished
  # hence the cross-depends parameter that is required when running in
  # a task-based deployment mode.
  cross-depends:
    - name: zbx-configure-snmptrapd-services
      role: [primary-controller]
  parameters:
    puppet_manifest: puppet/manifests/zabbix_config.pp
    puppet_modules: puppet/modules:/etc/puppet/modules:../zabbix_monitoring-2.5/puppet/modules
    timeout: 300

- id: zbx-configure-xtremesnmptt-services
  type: puppet
  version: 2.0.0
  requires: [post_deployment_start, zbx-configure-xtremesnmp-services]
  required_for: [post_deployment_end]
  role: ['primary-controller', 'controller']
  # The crontrollers configuration shouldn't start before primary is finished
  # hence the cross-depends parameter that is required when running in
  # a task-based deployment mode.
  cross-depends:
    - name: zbx-configure-xtremesnmp-services
      role: [primary-controller]
  parameters:
    puppet_manifest: puppet/manifests/snmptt_config.pp
    puppet_modules: puppet/modules:/etc/puppet/modules:../zabbix_monitoring-2.5/puppet/modules
    timeout: 300