Is there a way to check in bigfix if indeed the action was executed successfully?
Here’s my scenario:
I created action script to change a value in a text file using sed command in linux.
if (name of operating system as lowercase starts with “linux”)
wait bash -c “sed -i ‘s/enabled=1/enabled=0/’ /etc/yum/pluginconf.d/ibm-repository.conf”
else “False”
endif
Also created analysis,
lines whose (it contains “enabled”) of file “/etc/yum/pluginconf.d/ibm-repository.conf”
Base from the result, action was completed to 6 target machines. But the changes were not reflected to analysis result. It should reflect enabled=0, but the result still 1.
Example result:
PHPB00WA2M enabled=1
PHPB00WA2S enabled=1
PHPB00WA2W enabled=1
PHPB00WA2X enabled=1
PHPB00WA2Y enabled=1
PHPB00WA2Z enabled=1