Jira (PUP-5298) file function doesn't support serving of files from mount point

2 views
Skip to first unread message

Kyle Decot (JIRA)

unread,
Sep 30, 2015, 11:06:02 AM9/30/15
to puppe...@googlegroups.com
Kyle Decot created an issue
 
Puppet / Bug PUP-5298
file function doesn't support serving of files from mount point
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2015/09/30 8:05 AM
Priority: Major Major
Reporter: Kyle Decot

When using the file function you are currently unable to do something like:

file("puppet://mount_point/some_file")

This will always insist that the file doesn't exist

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4)
Atlassian logo

Branan Riley (JIRA)

unread,
May 15, 2017, 5:04:03 PM5/15/17
to puppe...@googlegroups.com
Branan Riley updated an issue
 
Puppet / New Feature PUP-5298
Change By: Branan Riley
Priority: Major Normal
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Branan Riley (JIRA)

unread,
May 15, 2017, 5:04:04 PM5/15/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
May 15, 2017, 5:04:05 PM5/15/17
to puppe...@googlegroups.com

Branan Riley (JIRA)

unread,
May 15, 2017, 5:05:02 PM5/15/17
to puppe...@googlegroups.com
Branan Riley commented on New Feature PUP-5298
 
Re: file function doesn't support serving of files from mount point

The file function was never intended to have that functionality. We'd consider a pull request for this, but are not planning to add this feature at this time

Jacob Helwig (JIRA)

unread,
Dec 4, 2017, 6:55:03 PM12/4/17
to puppe...@googlegroups.com
Jacob Helwig updated an issue
 
Change By: Jacob Helwig
Sub-team: Coremunity
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Josh Cooper (Jira)

unread,
Jan 27, 2021, 2:09:04 AM1/27/21
to puppe...@googlegroups.com
Josh Cooper commented on New Feature PUP-5298
 
Re: file function doesn't support serving of files from mount point

If the file is in a module, you can do something like:

file(find_file("<module>/<path>"))

Or write a custom function to resolve the path for a custom mount point. That said, due to other issues demanding precedence, we don’t anticipate being able to address this any time soon. As such we are closing this as “Won’t Fix.” We may revisit it at a later time, and if so will re-open this ticket.

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages