added changes for mcollective puppet agent implementation