-
Notifications
You must be signed in to change notification settings - Fork 31
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
Possible incorrect use of exported resource #44
Comments
Agree, I hit the same issue. If more than one node applies this manifest within the same puppetserver. |
+1 |
Is this fix planned to be included in a future version? |
It's probably sufficient to turn the double As already mentioned the double Using a single Obviously removing the |
Hi, I had the same issue while trying to use this module on multiple nodes. I applied @smoeding fix and it worked like a charm. Is the fix planned for a future release? Thanks |
@corey-hammerton this is a pretty big issue. Any solution for fixing this? |
@corey-hammerton Either suggestion is fine #48 or @smoeding that I did in #59 (it doesn't collect and realize those virtual resources so this would be done outside this class) |
I merged #59 but am unable to verify the fix. Travis CI integration is now broken, this was unverified because this project is not under active development. |
An exported resource is causing duplicate resource.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: A duplicate resource was found while collecting exported resources, with the type and title Metricbeat::Modulesd[system]
An exported resource declaration specifies a desired state for a resource, and publishes the resource for use by other nodes. It does not manage the resource on the target system. Any node, including the node that exports it, can collect the exported resource and manage its own copy of it.
See
puppet-metricbeat/manifests/config.pp
Lines 73 to 78 in 0b9c772
I think you should be using create_resources
Converts a hash into a set of resources and adds them to the catalog.
See
The text was updated successfully, but these errors were encountered: