add puppet_node_type fact
improve the conditional of installing the agent puppet package, based on
the puppet_node_type fact