get value from resource, rather than uninstantiated local variable

When defining node[:alertlogic][:agent][:inst_type], chef convergeance fails due to #{inst_type} being uninstantiated... need to get the value from the resource call.