-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unknown resource type: 'google_cloud_ops::agent' #18
Comments
seems that when you build the module, it generates "google-cloud_ops_agents-0.1.0.tar.gz" when installed the module it is google-cloud_ops_agents but in manifest you are asking this `google_cloud_ops::agent {'ops-agent':: I think for puppet 6 the names must be matching in order for this to work? |
@pandrian did you ever get this working? |
Hey @arjunasokan-bc yeah had to rename the module being installed on puppet server to match the class manifest that calls it, at least on centOS that worked YMMV. |
@pandrian worked for me thanks! |
Module name should match the code otherwise Puppet run results in an unknown resource type error. GoogleCloudPlatform#18
Running on CentOS Linux release 7.9.2009 (Core) on puppet 6.21.0
Followed documentation and manually installed the module, it installed to
'/etc/puppetlabs/code/environments/production/site-modules'
tried with a node but getting this error:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'google_cloud_ops::agent' (file: /etc/puppetlabs/code/environments/ops_agent_check/site-modules/profile/manifests/stackdriver/opsagent.pp, line: 9, column: 1) on node testing-00_8234155039306228246
maybe I'm doing something wrong? anybody has any clues to spare?
Thanks
The text was updated successfully, but these errors were encountered: