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

Readme for dhparam wrong? #78

Closed
c33s opened this issue Jan 5, 2017 · 1 comment
Closed

Readme for dhparam wrong? #78

c33s opened this issue Jan 5, 2017 · 1 comment

Comments

@c33s
Copy link
Member

c33s commented Jan 5, 2017

according the readme the following should work:

dhparam { '/path/to/dhparam.pem': }
dhparam { '/path/to/dhparam.pem':
  size => 2048,
}

but looking at the code $path is not set to $name by default. so the code has to be changed like this:

define openssl::dhparam(
  $path = $name,
  ...
) {

or the readme should be changed:

dhparam { 'mainfile': path => '/path/to/dhparam.pem': }
dhparam { 'mainfile':
  path => '/path/to/dhparam.pem'
  size => 2048,
}
@c33s
Copy link
Member Author

c33s commented Jan 11, 2017

fixed with PR #80

@c33s c33s closed this as completed Jan 11, 2017
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

No branches or pull requests

1 participant