-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
ensure_packages unzip with 'before' breaks interoperability #187
Comments
Possible solution: "Remove management of unzip package" - danieldreier@8253cba |
Fixed by #185 |
Closing since this is fixed. |
There is another solution. (just ran into this in my copy of 1.0.2) If you put the relationship after the ensure_packages, it can work without breaking other ensure_packages. ensure_package('unzip')
Package['unzip'] -> Staging::File['consul.zip'] This allows you to still ensure that the package is managed, but doesn't cause a Duplicate Declaration error. I'm guessing it's similar to the include 'myclass' vs class:{'myclass':} schematics. |
That will still cause the duplication error if another user declares (not via ensure_packages) |
In
install.pp
there iswhich breaks interoperability since if you have
in any other place it's a redeclaration error (because attributes are different). Minimal code that shows similar problem:
Output excerpt:
The text was updated successfully, but these errors were encountered: