Action 1 (default)
Action Link Click
here to deploy the BES Client 8.0.627.0 upgrade.
Script Type
BigFix Action Script
prefetch BESClientUpgrade.rpm sha1:2b72122ad8868973c7f5e427dcd9691e956a721c size:4567874 http://software.bigfix.com/download/bes/80/BESAgent-8.0.627.0-rhe5.x86_64.rpm
delete "/var/tmp/BESClientUpgrade.rpm"
move __Download/BESClientUpgrade.rpm "/var/tmp/BESClientUpgrade.rpm"
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/bin/sh
if {exists file "/etc/init.d/besclient"}
appendfile /etc/init.d/besclient stop
else
appendfile /etc/init.d/BESClient-{version of client as string} stop
endif
appendfile /bin/rpm -U "/var/tmp/BESClientUpgrade.rpm"
appendfile /etc/init.d/besclient start
appendfile /bin/rm -f "/var/tmp/BESClientUpgrade.rpm"
wait chmod 555 "{(client folder of current site as string) & "/__appendfile"}"
wait "{(client folder of current site as string) & "/__appendfile"}"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.