Fixed errors trying to get IPs of unprovisioned servers. Added step to initialise the puppetdb so we can start work on the puppetmaster