Hi! I've had to remove an extra space (between : and $) from those lines below on plugins/linux/mk_puppet to be able to extract values from last_run_summary.yaml:
before:
echo "${OUT}" | grep -A8 '^resources: $' | sed 's/^/resources/g'
echo "${OUT}" | grep -A3 '^events: $' | sed 's/^/events/g'
after:
echo "${OUT}" | grep -A8 '^resources:$' | sed 's/^/resources/g'
echo "${OUT}" | grep -A3 '^events:$' | sed 's/^/events/g'
Hi! I've had to remove an extra space (between : and $) from those lines below on plugins/linux/mk_puppet to be able to extract values from last_run_summary.yaml:
before: echo "${OUT}" | grep -A8 '^resources: $' | sed 's/^/resources/g' echo "${OUT}" | grep -A3 '^events: $' | sed 's/^/events/g' after: echo "${OUT}" | grep -A8 '^resources:$' | sed 's/^/resources/g' echo "${OUT}" | grep -A3 '^events:$' | sed 's/^/events/g'
My puppet version is 4.7.0.