We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of problem
Command/code used
rake spec
Platform and version information
Do the tests pass from a clean checkout? Yes all tests pass
Anything else to add that you think will be helpful?
I have a flat file of facts from my puppet master, but Octofacts does not like it. In particular it trips up on the following YAML:
pe_postgresql_info: installed_server_version: "9.6" data_partition_size_bytes: 804913152000 data_partition_available_bytes: 598647898112 versions: 9.4: app_dir: /opt/puppetlabs/server/apps/postgresql/9.4 data_dir: /opt/puppetlabs/server/data/postgresql/9.4 tablespaces: - /opt/puppetlabs/server/data/postgresql/activity/PG_9.4_201409291 - /opt/puppetlabs/server/data/postgresql/classifier/PG_9.4_201409291 - /opt/puppetlabs/server/data/postgresql/orchestrator/PG_9.4_201409291 - /opt/puppetlabs/server/data/postgresql/puppetdb/PG_9.4_201409291 - /opt/puppetlabs/server/data/postgresql/rbac/PG_9.4_201409291 used_bytes: 91782041600 9.6: app_dir: /opt/puppetlabs/server/apps/postgresql data_dir: /opt/puppetlabs/server/data/postgresql/9.6 tablespaces: - /opt/puppetlabs/server/data/postgresql/activity/PG_9.6_201608131 - /opt/puppetlabs/server/data/postgresql/classifier/PG_9.6_201608131 - /opt/puppetlabs/server/data/postgresql/orchestrator/PG_9.6_201608131 - /opt/puppetlabs/server/data/postgresql/puppetdb/PG_9.6_201608131 - /opt/puppetlabs/server/data/postgresql/rbac/PG_9.6_201608131 used_bytes: 100328099840
When I use the fact file in a test, I get the following error:
NoMethodError: undefined method `to_sym' for 9.4:Float Did you mean? to_s
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a flat file of facts from my puppet master, but Octofacts does not like it. In particular it trips up on the following YAML:
When I use the fact file in a test, I get the following error:
The text was updated successfully, but these errors were encountered: