voxpupuli / puppet-openldap

Manage OpenLDAP with Puppet
Apache License 2.0
37 stars 134 forks source link

Missing Parameter #265

Closed hurghdragon closed 4 years ago

hurghdragon commented 4 years ago

Hi I'm having an issue with upgrading from 1.15 to the current version. 2.0

I'm getting

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'relay' (file: /etc/puppetlabs/code/environments/ldapslave/modules/openldap/manifests/server/database.pp, line: 64) on Openldap_database[dc=hpc,dc=qmul,dc=ac,dc=uk] (file: /etc/puppetlabs/code/environments/ldapslave/modules/openldap/manifests/server/database.pp, line: 64)

I can't instantly see what I've got wrong and version 1.15 works fine.

This is running under CentOS 7 using the symas openldap rpms due to the fact that Redhat have stopped supporting openldap.

Let us know if you need any more details, I'm currently dropping back to 1.15 which is the last version that works for me.

Thanks

Peter Childs

hurghdragon commented 4 years ago

Problem resolved finally, restart the puppetserver after upgrading. It looks like puppet stores the custom type definitions in memory and simply upgrading and watching it copy across the code is not enough, there is still stuff hanging around in memory.

That's been annoying me for days.....

Peter

raphink commented 4 years ago

@hurghdragon do you run puppet generate types after you deploy your code on the puppet server?