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

Allow filter configuration option on file provisioner #1620

Closed
RyanMelenaNoesis opened this issue Oct 24, 2014 · 2 comments
Closed

Allow filter configuration option on file provisioner #1620

RyanMelenaNoesis opened this issue Oct 24, 2014 · 2 comments

Comments

@RyanMelenaNoesis
Copy link

Would be nice to be able to provide a filter when specifying a directory as a file provisioner source (perhaps regex).

@RyanMelenaNoesis
Copy link
Author

Did a little research and it looks like this feature is supported in the underlying Communicator service. I think the third argument to Communicator.UploadDir(dst string, src string, exclude []string) would just have to be exposed as a file provisioner config option.

@mitchellh
Copy link
Contributor

Dup of #1811, I know that one is newer but is has some more info.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants