NOREF: Moving functions to the top in puppetdeploy.py and renaming puppet_params to puppetparams