]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Adds check to params.pp if lab-release is not installed
authorSpencer Owen <owenspencer@gmail.com>
Thu, 10 Jul 2014 17:48:54 +0000 (11:48 -0600)
committerSpencer Owen <owenspencer@gmail.com>
Thu, 10 Jul 2014 17:48:54 +0000 (11:48 -0600)
Adds spec test

If lab-release is not installed, then the end user sees a confusing/ vague message
Error: Unsupported lsbdistid () at /modules/apt/manifests/params.pp:52
It is common for docker containers to not include this package by default

After fix, the user sees a friendlier message if lab-release is not installed
Error: Unable to determine lsbdistid, is lsb-release installed? at /modules/apt/manifests/params.pp:52


No differences found