Issue #15451 has been updated by James Turnbull.

Project changed from Puppet DSL to Puppet
Category deleted (Puppet DSL)


----------------------------------------
Bug #15451: Puppet can't handle file '/'
https://projects.puppetlabs.com/issues/15451#change-69373

Author: Stephen Day
Status: Accepted
Priority: Normal
Assignee: Pieter van de Bruggen
Category: 
Target version: 
Affected Puppet version: 
Keywords: Manifest DSL
Branch: 


The following manifest should be valid:

file {
  '/':
  ensure => 'directory',
  owner => 'root',
  group => 'root',
  mode => '0755',
}

However puppet appears to remove either the first or last '/' from the file 
name resulting in '/' being seen as ''. I put the above in TEST.pp for tried to 
apply it:

puppet apply TEST.pp
Parameter path failed: File paths must be fully qualified, not '' at 
/etc/puppet/manifests/TEST.pp:7

This worked in puppet 0.25 but doesn't in puppet 2.7.17. Changing '/' to '/.' 
works around the problem.



-- 
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.

Reply via email to