Issue #10857 has been reported by Jason Smith.
----------------------------------------
Bug #10857: File resource fails for root(/) directory.
https://projects.puppetlabs.com/issues/10857
Author: Jason Smith
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.6.12
Keywords:
Branch:
I know this is probably an extreme edge case, but I recently noticed that this
fails:
file { '/': ensure => directory }
with the error: Parameter path failed: File paths must be fully qualified, not
'' at /tmp/test.pp:1
A little background, This comes from a larger module that I have which uses the
lvm module to create additional or grow existing filesystems on a server. The
file resource is used to make sure the mount point exists before using the
mount resource to manage /etc/fstab and mount the filesystem. I noticed that if
I tried to use my custom module to grow the root(/) filesystem that I got the
error above. Is the / being removed to make it an empty path as a result of
some code to try and remove trailing slashes from paths?
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.