-
Notifications
You must be signed in to change notification settings - Fork 27
Resource type not found: Pe_postgresql_conf #62
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
Comments
@hawkeye-7 may i ask the PE version and the component you are seeing this on? |
@hawkeye-7 iv been unable to reproduce in 2017.3 the last version that should trigger this class, or in 2021.1 |
Using PE 2019.8.6 |
We have been unable to reproduce, and believe this is likely an issue with the modulepath or another misconfiguration specific to your environment, |
The profile is question is fairly basic: On the server: -rw-------. 1 pe-postgres pe-postgres 23857 Nov 16 2020 /opt/puppetlabs/server/data/postgresql/11/data/postgresql.conf So the file is there facter -p pe_postgresql_info The fact is set Works with puppetlabs-pe_databases 1.1.0 fails with puppetlabs-pe_databases 1.2.0 The breaking change is f147ba2 changed Postgressql_conf to Pe_postgressql_conf ross@harmony3-p1:~$ /opt/puppetlabs/bin/puppet module list |
HI @hawkeye-7 Thank for the data, yes we recently made the change to move from external to internal dependencies. puppetlabs-pe_postgresql provides the resource in question, and would be located here: /opt/puppetlabs/puppet/modules/pe_postgresql/lib/puppet/type/pe_postgresql_conf.rb The error you are experiencing This does not appear to be an issue with the module as we can not reproduce it through manual or automated testing, and this may be an issue with your basemodulepath for the environment the node is compiling a catalog against. As this is a PE issue, and likely environment based, may I suggest raising a case with the Support team to help you further? Thank you |
@hawkeye-7 Based on https://github.com/puppetlabs/puppetlabs-pe_databases/blob/main/manifests/init.pp#L29 that class should not be added in 2019.8.z
How are you using this module in your code and what parameters are set? |
Closing the issue as we can not reproduce if you can provide more information on versioning an circumstances we can reopen |
puppetlabs-pe_databases 1.2.0 gives me an error:
Evaluation Error: Resource type not found: Pe_postgresql_conf
file: modules/pe_databases/manifests/postgresql_settings.pp
line: 58
The text was updated successfully, but these errors were encountered: