adding puppet.hostname, puppet.environment to SM's configuration file and adding them to the payload