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.x86_64_rhe3.rpm
continue if {(size of it = 2323412 AND sha1 of it = "648de141e283ea09bd03f630fbc84a44393d9852") of file "BESAgent-6.0.29.6.x86_64_rhe3.rpm" of folder "__Download"}
delete "/var/tmp/BESAgent-6.0.29.6.x86_64_rhe3.rpm"
move "__Download/BESAgent-6.0.29.6.x86_64_rhe3.rpm" "/var/tmp/BESAgent-6.0.29.6.x86_64_rhe3.rpm"
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/bin/sh
appendfile /etc/init.d/BESClient-{preceding text of first "-" of (version of package "BESAgent" of rpm as string)} stop
appendfile /bin/rpm -U "/var/tmp/BESAgent-6.0.29.6.x86_64_rhe3.rpm"
appendfile /etc/init.d/BESClient-6.0.29.06 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.