/usr/share/crmsh/tests/testcases/commit is in crmsh 2.3.2-4.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 | show Commits of all kinds
property default-action-timeout=2m
primitive st stonith:null \
params hostlist='node1' \
meta yoyo-meta="yoyo 2" \
op start requires=nothing \
op monitor interval=60m
commit
node node1 \
attributes mem=16G
primitive p1 ocf:heartbeat:Dummy \
op monitor interval=60m \
op monitor interval=120m OCF_CHECK_LEVEL=10
primitive p2 ocf:heartbeat:Dummy
primitive p3 ocf:heartbeat:Dummy
group g1 p1 p2
clone c1 g1
location l1 p3 100: node1
order o1 inf: p3 c1
colocation cl1 inf: c1 p3
primitive d1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
primitive d3 ocf:heartbeat:Dummy
commit
rename p3 pp3
commit
rename pp3 p3
delete c1
commit
group g2 d1 d2
commit
delete g2
commit
filter "sed '/g1/s/p1/d1/'"
group g2 d3 d2
delete d2
commit
_test
verify
.
|