Added userdata.sh

This script can be used as userdata script with cloudinit.
It will isntall puppet master and puppet agents with configuration provided.