puppet-pacemaker/examples/pacemaker_order/show.sh

11 lines
261 B
Bash
Executable File

#!/bin/sh
show() {
puppet resource pacemaker_order "${1}"
cibadmin --query --xpath "/cib/configuration/constraints/rsc_order[@id='${1}']"
echo '--------------------'
}
show 'order-test2_after_order-test1_score'
show 'order-test2_after_order-test1_kind'