-
Notifications
You must be signed in to change notification settings - Fork 326
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
puppet_module_install excludes too much #725
Comments
I've done some digging when @alexjfisher mentioned it on IRC. A potential fix is to do @anodelman any opinions on this? |
I think that our scp ignore is pretty much a mess and I'm going to be reviewing it this week. The difficulty here is that some code depends upon our flexible attitude towards what is a match, yet, in this case, it is stabbing us in the back. What really needs to happen here is better doc-ing that makes it clear what ignore does/doesn't do and then stick to i. |
A fix for this is actually included in #730 - to only match against subdirs of the provided dir. |
PR merged. |
Hi
I'd like to be able to do something like...
puppet_module_install(:source => File.join(module_root, 'spec/fixtures/modules/functions'), :module_name => 'functions')
... but, 'spec' is in the default PUPPET_MODULE_INSTALL_IGNORE and as a result, nothing gets scp'ed
I believe the ignore paths should only be used if they appear in the module being copied itself, and not if they appear earlier in the path.
The text was updated successfully, but these errors were encountered: