summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/autoload.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-01-07 16:35:41 -0800
committerJames Turnbull <james@lovedthanlost.net>2010-01-12 10:32:45 +1100
commit7f258059d8c16c2a20f48a28d636227cdb5a346b (patch)
treee990eb54322430d55c5d81964c661384c99c522f /spec/unit/util/autoload.rb
parentc99f394bf8c10d13f3fa7d3ab7ab43ecf454c081 (diff)
downloadpuppet-7f258059d8c16c2a20f48a28d636227cdb5a346b.tar.gz
puppet-7f258059d8c16c2a20f48a28d636227cdb5a346b.tar.xz
puppet-7f258059d8c16c2a20f48a28d636227cdb5a346b.zip
Fix #1464 Mount complains about missing fields
This family of errors could appear because Puppet parses every line in fstab into resources, even lines that are not specifically managed by Puppet, and fstab files are much more permissive than Puppet in what constitutes a valid mount. This change makes several fields optional that were previously mandatory. Also, it ignores lines in fstab that have fewer than the required number of parameters. Includes a more readable regex than the previous patch. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions