Path : /proc/2/task/2/root/proc/3/task/3/cwd/etc/zabbix/zabbix_agentd.d/ |
Current File : //proc/2/task/2/root/proc/3/task/3/cwd/etc/zabbix/zabbix_agentd.d/userparameter_puppet.conf |
UserParameter=puppet.agent[*],sudo grep $1 /var/lib/puppet/state/last_run_summary.yaml | awk '{gsub(/"/, "", $$2); print $$2}' UserParameter=puppet.classes[*],sudo grep $1 /var/lib/puppet/state/classes.txt | tr '\n' ' '