conditional repository installation
 few typo
minor correction
using puppetlabs-mysql v2.0