Changed module action to a case statement based on $HOSTNAME.