Added port configuration for puppet agent in puppet-master mode
Updated test for puppet:agent