Added check to ensure dependency installation. Now composer will be installed by puppet. Added wget to puppet packages.