fraenki / puppet-sshkeys

Puppet module to manage ssh public keys.
https://forge.puppetlabs.com/fraenki/sshkeys
BSD 2-Clause "Simplified" License
9 stars 9 forks source link

Incompatible with puppet 4 #10

Closed mzhaase closed 7 years ago

mzhaase commented 8 years ago

users get not created with puppet 4 agent.

artem-sidorenko commented 8 years ago

@mzhaase yes, I know its not compatible with puppet 4 yet. When I have more time I will make it puppet 4 compatible (PRs are welcome), as I don't use puppet anymore it will take some time.

mzhaase commented 8 years ago

Do you have an idea what causes it?

artem-sidorenko commented 8 years ago

@mzhaase I guess some changes because of Hiera conversion to puppet 4 API

mzhaase commented 8 years ago

I noticed that switching from hiera_hash to just hiera makes it work again.

artem-sidorenko commented 8 years ago

@mzhaase thx, I'll check this when I have time. If you can fix it and can extend the tests to puppet 4, feel free to provide a PR

mzhaase commented 8 years ago

Hi, I don't know if this helps you or if it was just me being an idiot, but per default in puppet, the puppet folder and all files in it are owned by root. however all hiera files have to be owned by puppet.

artem-sidorenko commented 8 years ago

@mzhaase as I stopped using puppet about 2 years ago, I'm not going to maintain this module anymore. Sorry for any inconvenience caused

fraenki commented 7 years ago

@mzhaase: Is this still an issue for you? What does your hiera data look like?

mzhaase commented 7 years ago

Turned out it was a permission problem, as the default permissions are different under puppet 4.