Skip to content
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

Add user type parameter 'purge_ssh_keys' to the account::user class. #27

Merged
merged 1 commit into from
Jul 2, 2015
Merged

Add user type parameter 'purge_ssh_keys' to the account::user class. #27

merged 1 commit into from
Jul 2, 2015

Conversation

poikilotherm
Copy link
Contributor

I did not specify a Rspec test, as I think the validation does not need to be tested and the correctness of purge_ssh_keys in user should not be validated here (already done in https://github.com/puppetlabs/puppet/blob/master/spec/unit/type/user_spec.rb)

Would be glad if you could merge this.
If you would like me to add some more doc / ..., please respond here. :)

@poikilotherm
Copy link
Contributor Author

Right, sometime I hate the Types Doc - no hint this feature was first added with Puppet 3.6...

So most Travis Runs fail because of "invalid parameter", the rest is failing because of things I IMHO didn't cause.

Maybe I should add a puppet version switch and put a file deletion before ssh_keys for puppet < 3.6? What do you think?

@deric
Copy link
Owner

deric commented Jul 2, 2015

Cool, thanks. I guess we should either display a warning for puppet < 3.6 or implement the functionality manually.

deric added a commit that referenced this pull request Jul 2, 2015
…_keys_option

Add user type parameter 'purge_ssh_keys' to the account::user class.
@deric deric merged commit 7926d53 into deric:master Jul 2, 2015
deric added a commit that referenced this pull request Jul 2, 2015
deric added a commit that referenced this pull request Jul 2, 2015
@poikilotherm poikilotherm deleted the feature/master/add_purge_ssh_keys_option branch July 7, 2015 07:28
@poikilotherm
Copy link
Contributor Author

Thanks for merging and modification. Could you release a new forge version, too? Thanks in advance. :)

@deric
Copy link
Owner

deric commented Jul 7, 2015

Sure, tagged as v1.1.3 and uploaded to forge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants