Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.4.3
-
None
-
1
-
Client 2016-07-27, Client 2016-08-10
-
Reviewed
-
Bug Fix
-
Puppet can now manage the root directory on unix-like systems
Description
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?
Attachments
Issue Links
- relates to
-
PUP-7402 handle trailing slashes in references between file resources
-
- Closed
-
- clones