HomePhorge

(#8704) Give better errors for invalid fileserver.conf
94f0b93b6065Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8704) Give better errors for invalid fileserver.conf

If you tried to just put an allow or deny line in the fileserver.conf
without a mount point, you got a really confusing error message:

lib/puppet/network/handler/fileserver.rb:285:in `readconfig': undefined method `info' for nil:NilClass (NoMethodError)

Now instead we give an error saying no mount point was specified.

Reviewed-by: Josh Cooper <josh@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5682125e1800: Merge branch 'tickets/2.7.x/5777' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPU94f0b93b6065: (#8704) Give better errors for invalid fileserver.conf (authored by Matt Robinson <matt@puppetlabs.com>).Jul 29 2011, 9:52 PM