refine puppet tasks, fix remote service and firewall tasks