Hello I'm trying to test the puppet module but I'm getting some issues
root@puppet:/etc/puppetlabs/code/environments/production# gem list | grep goo
google-api-client (0.19.2)
googleauth (0.6.2)
root@puppet:/etc/puppetlabs/code/environments/production# puppet module list
/etc/puppetlabs/code/environments/production/modules
├── google-cloud (v0.2.2)
├── google-gauth (v0.2.0)
├── google-gcompute (v0.2.1)
├── google-gcontainer (v0.2.0)
├── google-gdns (v0.1.1)
├── google-glogging (v0.1.1)
├── google-gpubsub (v0.1.0)
├── google-gspanner (v0.1.0)
├── google-gsql (v0.2.0)
├── google-gstorage (v0.2.0)
├── puppetlabs-apt (v4.4.1)
└── puppetlabs-stdlib (v4.24.0)
And also I generated a json via gcloud sdk tool
node default {
gauth_credential { 'engine-only':
provider => defaultuseraccount,
path => '/root/.config/gcloud/application_default_credentials.json',
}
}
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'provider' at /etc/puppetlabs/code/environments/production/manifests/site.pp:3 on Gauth_credential[engine-only] at /etc/puppetlabs/code/environments/production/manifests/site.pp:3 on node puppet
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
##Provider commented
node default {
gauth_credential { 'engine-only':
#provider => defaultuseraccount,
path => '/root/.config/gcloud/application_default_credentials.json',
}
}
root@puppet:/etc/puppet/
root@puppet:/etc/puppetlabs/code/environments/production# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for puppet
Info: Applying configuration version '1515976474'
Error: Failed to apply catalog: gauth_credential[engine-only] does not have a provider
I think that I'm walking in circles