Features/arbitary puppetservice name curl with retries

Here is a cleaned up version of PR#200