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

Files are not copied recursively for a locally-sourced PowerShell module #116

Closed
nebffa opened this issue Oct 6, 2017 · 2 comments
Closed

Comments

@nebffa
Copy link

nebffa commented Oct 6, 2017

Steps to Reproduce:

  1. Have a local PowerShell module
  2. Use the powershell_module resource to copy it to another location.

Expected Result:

All files in the module, as well as any files in a subfolder, are copied.

Actual Result:

Only the files in the base directory are copied.

@smurawski
Copy link
Contributor

This is probably a bug, but the better solution would be to move to PowerShell package management (PowerShellGet) (which is supported by the powershell_package resource in core chef (as of 12.16 and newer).

@stuartpreston
Copy link

Closing this issue due to age - in this case we are now deprecating the powershell_module resource from the cookbook. Please open a new issue if you cannot accomplish your goals using the powershell_package and powershell_package_source resources.

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

No branches or pull requests

3 participants