Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Stdlib::Filesource #841

Merged
merged 5 commits into from
Mar 2, 2018
Merged

Conversation

b4ldr
Copy link
Collaborator

@b4ldr b4ldr commented Nov 13, 2017

No description provided.

@b4ldr b4ldr force-pushed the type_filesource branch 2 times, most recently from d9a9990 to af8d73f Compare November 13, 2017 08:17
@b4ldr b4ldr mentioned this pull request Nov 13, 2017
@b4ldr
Copy link
Collaborator Author

b4ldr commented Nov 30, 2017

rebased and updated to use new type testing as per #856

@pegasd
Copy link
Contributor

pegasd commented Dec 13, 2017

As per #856, you don't need the test::* manifest anymore, so it can be safely deleted from PR.

@b4ldr
Copy link
Collaborator Author

b4ldr commented Dec 13, 2017

thanks @pegasd i missed that one, updated now

http://runningoutofideas.gov
file:///hello/bla
file:///foo/bar.log
puppet:///modules/foo/bar.log
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also test puppet://someserver/modules/foo/bar.log

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@binford2k thanks for the pointer i didn't see that varient in the docs. Have updeated the type pattern and spec tests

@david22swan
Copy link
Member

@binford2k Are you happy that the changes you requested have been made?

@david22swan david22swan merged commit 598e0a3 into puppetlabs:master Mar 2, 2018
'\\Users/hc/wksp/stdlib',
'C:noslashes',
'\\var\\tmp',
'puppet:///foo/bar.log',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@binford2k This is actually valid though? https://puppet.com/docs/puppet/5.5/file_serving.html#whats-a-mount-point-in-a-puppet-uri
We're using this type in puppet-zabbix and a user has complained the regex is rejecting valid puppet fileserver mount points. voxpupuli/puppet-zabbix#580

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that should be valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants