/usr/share/crmsh/scripts/mailto/main.yml is in crmsh 2.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | version: 2.2
shortdesc: MailTo
category: Basic
include:
- agent: ocf:heartbeat:MailTo
name: mailto
parameters:
- name: id
type: resource
required: true
- name: email
type: email
required: true
- name: subject
type: string
required: false
ops: |
op start timeout="10"
op stop timeout="10"
op monitor interval="10" timeout="10"
actions:
- install:
- mailx
shortdesc: Ensure mail package is installed
- include: mailto
- cib: |
clone c-{{id}} {{id}}
|