Workaround to overcome Solaris package array error

Used define to check the status of individual installed packages
The ssh templates were also checked