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

[dev.icinga.com #12980] Symlinks in modules are not allowed in puppet modules #141

Closed
icinga-migration opened this issue Oct 25, 2016 · 2 comments
Labels
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12980

Created by tontonitch on 2016-10-25 11:51:16 +00:00

Assignee: bsheqa
Status: Closed (closed on 2016-11-10 09:57:10 +00:00)
Target Version: v0.6.0
Last Update: 2016-11-10 09:57:10 +00:00 (in Redmine)


Hi,

Trying to build the puppet module using a clone of the current git mast branch , I face the following error messages:

[root@rhtestsrv1-d modules]# puppet module build icinga2
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2debian7puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2debian8puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2rhel6puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2rhel7puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2ubuntu14puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Warning: Symlinks in modules are unsupported. Please investigate symlink serverspec/spec/i2ubuntu16puppet4/plattform_independent_spec.rb -> serverspec/spec/plattform_independent_spec.rb.
Error: Found symlinks. Symlinks in modules are not allowed, please remove them.
Error: Try 'puppet help module build' for usage

So apparently "Symlinks in modules are not allowed".

Best regards,
Yannick
"

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-08 09:41:30 +00:00

  • Target Version set to v0.6.0

@icinga-migration
Copy link
Author

Updated by bsheqa on 2016-11-10 09:57:10 +00:00

  • Status changed from New to Closed
  • Assigned to set to bsheqa
  • Done % changed from 0 to 100

To solve this we have two options:

  • Ignore files via .gitignore or .pmtignore
  • Create regular files out of symlinks

I decided to create regular files and remove the symlinks, even if we have now the same content in multiple files. I don't want to ignore the files in builds.

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

No branches or pull requests

1 participant