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

Data Provide Mismatch #119

Closed
pedmon opened this issue Mar 15, 2023 · 1 comment
Closed

Data Provide Mismatch #119

pedmon opened this issue Mar 15, 2023 · 1 comment

Comments

@pedmon
Copy link
Contributor

pedmon commented Mar 15, 2023

I'm working to deploy OnDemand on Rocky 8.7 with Puppet 6 and I hit the following issue:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Data Provider type mismatch: Got String when a hash-like object was expected to access value using 'family' from key 'os.family' on node rockyood.rc.fas.harvard.edu
Which looks to be pointing at line 361 of manifests/init.pp as if it can't resolve that. When I query facter I get:

[root@rockyood private]# facter -p os { architecture => "x86_64", distro => { codename => "GreenObsidian", description => "Rocky Linux release 8.7 (Green Obsidian)", id => "Rocky", release => { full => "8.7", major => "8", minor => "7" }, specification => ":core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch" }, family => "RedHat", hardware => "x86_64", name => "Rocky", release => { full => "8.7", major => "8", minor => "7" }, selinux => { enabled => false } }
Which seems to indicate the data is structured correctly as its looking for a hash.

The version of facter I am using is 3.14.24 and the puppet version is 6.28.0

@pedmon
Copy link
Contributor Author

pedmon commented Mar 15, 2023

Figured it out as it was some issues in my hiera setup which were triggered by using this module. See: voxpupuli/puppet-prometheus#254

@pedmon pedmon closed this as completed Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant