I am trying a hybrid here. I used the software dashboard to upload an spb for an AIX install of a monitoring agent. With that I used the prefect code that was in the fixlet, then tried to build an install fixlet.
Below is my script. It is BigFix action script (should I use shell script instead? If so, how is it written?)
continue if {(size of it = 84517 AND sha1 of it = “9c87cbd8ad603daf54e80b08036257f8cecbc9fd”) of file “ux_062205000_aix526.tmp” of folder “__Download”}
extract ux_062205000_aix526.tmp
// Create install directory, move install directory to new path
wait sh -c “mkdir /apps/opt/IBM/ITM/tmaitm6/agentdepot/ux_062205000_aix526/”
wait sh -c “mv __Download/ux_062205000_aix526 /apps/opt/IBM/ITM/tmaitm6/agentdepot/ux_062205000_aix526/”
// Install the agent
wait sh -c “cd /apps/opt/IBM/ITM/tmaitm6/agentdepot/ux_062205000_aix526/”
wait sh -c “./silentInstall.sh”
// Cleanup install directory
wait sh “rm -rf /apps/opt/IBM/ITM/tmaitm6/agentdepot/”
continue if {(size of it = 84517 AND sha1 of it = “9c87cbd8ad603daf54e80b08036257f8cecbc9fd”) of file “ux_062205000_aix526.tmp” of folder “__Download”}
extract ux_062205000_aix526.tmp
// Create install directory, move install directory to new path
Well, for starters, it looks like the whole file isnt on the TEM server. I tried uploading the file directory (which contains the installer .sh) using the windows dashboard, just to get it in TEM. Is there a recommended way to do this?
Edit: Windows Software Distribution Dashboard is what I used to get the installer directory in TEM.