Action 1 (default)
Action Link Click
here to deploy the BES Client 6.0 upgrade.
Script Type
BigFix Action Script
download http://download.bigfix.com/download/bes/60/clients/BESAgent-6.0.29.6.sparc_sol8.pkg
continue if {(size of it = 9180160 AND sha1 of it = "0680fe4e9b42c68693ffdccaa7eae7a69a502f4e") of file "BESAgent-6.0.29.6.sparc_sol8.pkg" of folder "__Download"}
delete "/var/tmp/BESAgent-6.0.29.6.sparc_sol8.pkg"
move "__Download/BESAgent-6.0.29.6.sparc_sol8.pkg" "/var/tmp/BESAgent-6.0.29.6.sparc_sol8.pkg"
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/sbin/sh
appendfile /etc/init.d/BESClient stop
appendfile /usr/bin/sleep 30
appendfile /usr/sbin/pkgrm -n BESagent
appendfile /usr/sbin/pkgadd -d /var/tmp/BESAgent-6.0.29.6.sparc_sol8.pkg BESagent
appendfile /etc/init.d/BESClient start
wait chmod 555 "{(client folder of current site as string) & "/__appendfile"}"
run "{(client folder of current site as string) & "/__appendfile"}"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.