added enablerepo option for package install

this works only for puppet >= 3.6