add function to manage remote services and split puppet rsyslog files