camptocamp / puppet-accounts

11 stars 40 forks source link

Invalid parameter purge_ssh_keys #6

Closed hasc closed 9 years ago

hasc commented 9 years ago

Hi,

I have an issue using this module with puppet 2.7.23 and foreman 1.7.2.

With the following configuration applied:

classes:
  accounts:
    accounts:
      exampleuser: {}
    users:
      exampleuser:
        uid: 1001
        comment: Example User

I am getting the error:

Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter purge_ssh_keys on node node.example.com

Might be I am oding something wrong, however if I comment out line 44 in manifests/accounts.pp everything works.

Thanks in advance Hannes

raphink commented 9 years ago

purge_ssh_keys was introduced in Puppet 3.6.0, so it won't work before that version.

raphink commented 9 years ago

Apparently, 1f042a5c was meant to fix this, but it might have missed an occurrence.

hasc commented 9 years ago

So this fix will be merged?

raphink commented 9 years ago

I don't see a fix provided, did you mean to open a PR?

hasc commented 9 years ago

Sorry for the late reply and misunderstanding. I just upgraded puppet to the latest version and that fixed the problems. Thanks!