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_sol7.pkg
continue if {(size of it = 9012736 AND sha1 of it = "6a8e157e349924bef4f149f3533d916a94ec22b4") of file "BESAgent-6.0.29.6.sparc_sol7.pkg" of folder "__Download"}
delete "/var/tmp/BESAgent-6.0.29.6.sparc_sol7.pkg"
move "__Download/BESAgent-6.0.29.6.sparc_sol7.pkg" "/var/tmp/BESAgent-6.0.29.6.sparc_sol7.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_sol7.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.